changeset 2184:b3dc2a7d1cce

i18n Makefile fixes
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 20 Jun 2007 22:24:47 +0200
parents d133bf86ed58
children ca3e7fdab76e
files MoinMoin/i18n/Makefile
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/i18n/Makefile	Sun Apr 22 02:00:28 2007 +0200
+++ b/MoinMoin/i18n/Makefile	Wed Jun 20 22:24:47 2007 +0200
@@ -8,7 +8,7 @@
 -include POTFILES
 
 POTFILES.in POTFILES:
-	tools/mk_POTFILES.py
+	@python tools/mk_POTFILES.py
 
 .nop.po-update:
 	@lang=`echo $@ | sed -e 's/\.MoinMoin\.po-update$$//'`; \
@@ -29,7 +29,7 @@
 
 # remove "--no-location" if you want to have file names and line numbers
 # that's bad for merging branches - this is why we don't use it
-$(DOMAIN).pot-update: $(POTFILES) POTFILES
+$(DOMAIN).pot-update: $(POTFILES) POTFILES.in
 	xgettext --default-domain=$(DOMAIN) --directory=.. \
 	  --files-from=POTFILES.in \
 	  --no-location \
@@ -49,7 +49,7 @@
 	  fi; \
 	}
 
-$(DOMAIN).pot:
+$(DOMAIN).pot: $(POTFILES) POTFILES.in
 	$(MAKE) $(DOMAIN).pot-update
 
 $(POFILES):
@@ -62,7 +62,7 @@
 
 $(NOPFILES):
 
-update-po:
+update-po: clean
 	$(MAKE) $(DOMAIN).pot-update
 	$(MAKE) $(UPDATEPOFILES)