mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 00:13:24 +00:00
Add temporary locate files to the "clean" target.
The update-po-files target creates backup files. Let's add them to the "clean" target. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
4d649151b5
commit
228259ead6
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -195,9 +195,9 @@ install-cross-windows: $(NAME)
|
|||
done
|
||||
|
||||
update-po-files:
|
||||
xgettext -o subsurface-new.pot -s -k_ -kN_ --keyword=C_:1c,2 --add-comments="++GETTEXT" *.c
|
||||
xgettext -o po/subsurface-new.pot -s -k_ -kN_ --keyword=C_:1c,2 --add-comments="++GETTEXT" *.c
|
||||
for i in po/*.po; do \
|
||||
msgmerge -s -U $$i subsurface-new.pot ; \
|
||||
msgmerge -s -U $$i po/subsurface-new.pot ; \
|
||||
done
|
||||
|
||||
file.o: file.c dive.h file.h
|
||||
|
@ -273,5 +273,5 @@ doc:
|
|||
$(MAKE) -C Documentation doc
|
||||
|
||||
clean:
|
||||
rm -f $(OBJS) *~ $(NAME) $(NAME).exe
|
||||
rm -f $(OBJS) *~ $(NAME) $(NAME).exe po/*~ po/subsurface-new.pot
|
||||
rm -rf share
|
||||
|
|
Loading…
Add table
Reference in a new issue