summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-03-17 16:45:13 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-03-17 16:45:13 +0000
commit17992722444e90f3c23efb3e310353e0fbe24d4b (patch)
treec714c93066cccf4a6429dac5d98eced5377a8ba0 /po/Makefile
parent7e32b4e18e3eb88455a912349aea1a0c82652e95 (diff)
downloadcontrol-center-17992722444e90f3c23efb3e310353e0fbe24d4b.tar
control-center-17992722444e90f3c23efb3e310353e0fbe24d4b.tar.gz
control-center-17992722444e90f3c23efb3e310353e0fbe24d4b.tar.bz2
control-center-17992722444e90f3c23efb3e310353e0fbe24d4b.tar.xz
control-center-17992722444e90f3c23efb3e310353e0fbe24d4b.zip
Added generation of POTFILES.in in Makefile
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/po/Makefile b/po/Makefile
index 48147641..b3a57d38 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -33,7 +33,10 @@ clean:
%.mo: %.po
msgfmt -o $@ $<
-$(PGOAL).pot: $(PL_FILES)
+POTFILES.in:
+ (cd .. ; /bin/ls data/*.desktop.in data/*.directory.in) > POTFILES.in
+
+$(PGOAL).pot: $(PL_FILES) POTFILES.in
intltool-update --gettext-package desktopstuff --pot
perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES)
# OLD_PO_FILE_OUTPUT=1 is needed to ignore non-ascii strings