mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-27 14:47:51 +01:00
Fix POTFILES.in generation
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
5b32075697
commit
daa5443098
1 changed files with 2 additions and 2 deletions
|
@ -19,10 +19,10 @@ all: ${MOS}
|
||||||
clean:
|
clean:
|
||||||
$(QUIET)rm -rf POTFILES.in POTFILES.in.tmp $(patsubst %.po, %, $(CATALOGS)) ${PROJECT}.pot
|
$(QUIET)rm -rf POTFILES.in POTFILES.in.tmp $(patsubst %.po, %, $(CATALOGS)) ${PROJECT}.pot
|
||||||
|
|
||||||
POTFILES.in: $(sort $(wildcard ../girara/*.c))
|
POTFILES.in: $(sort $(wildcard ../zathura/*.c))
|
||||||
$(QUIET) set -e && rm -f $@.tmp && touch $@.tmp && \
|
$(QUIET) set -e && rm -f $@.tmp && touch $@.tmp && \
|
||||||
for f in $(^F) ; do \
|
for f in $(^F) ; do \
|
||||||
echo girara/$$f >> $@.tmp ; \
|
echo zathura/$$f >> $@.tmp ; \
|
||||||
done && \
|
done && \
|
||||||
mv $@.tmp $@
|
mv $@.tmp $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue