From 228259ead6d65fe5ada8efc7181511c0cdb22970 Mon Sep 17 00:00:00 2001 From: Henrik Brautaset Aronsen Date: Fri, 19 Oct 2012 09:50:14 +0200 Subject: 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 Signed-off-by: Dirk Hohndel --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 43d63a9ad..c32e9495e 100644 --- a/Makefile +++ b/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 -- cgit v1.2.3-70-g09d2