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:
Henrik Brautaset Aronsen 2012-10-19 09:50:14 +02:00 committed by Dirk Hohndel
parent 4d649151b5
commit 228259ead6

View file

@ -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