summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2012-10-19 09:50:14 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2012-10-19 07:19:59 -0700
commit228259ead6d65fe5ada8efc7181511c0cdb22970 (patch)
treeaecf05d92d966027b6ac922bbda993fc880dbbf0 /Makefile
parent4d649151b585ffc387d29dee2098809e698427f4 (diff)
downloadsubsurface-228259ead6d65fe5ada8efc7181511c0cdb22970.tar.gz
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files 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