aboutsummaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-07-19 19:55:47 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-07-19 19:55:47 +0000
commit261e9771843600eb0064180206b48ca9b4f38e55 (patch)
treef42eedc14294649a6b7f1e2c0eea96de16abe811 /po/Makefile
parent6f50d19785796777ca0035a7ba86424516479cd6 (diff)
downloaduserdrake-261e9771843600eb0064180206b48ca9b4f38e55.tar
userdrake-261e9771843600eb0064180206b48ca9b4f38e55.tar.gz
userdrake-261e9771843600eb0064180206b48ca9b4f38e55.tar.bz2
userdrake-261e9771843600eb0064180206b48ca9b4f38e55.tar.xz
userdrake-261e9771843600eb0064180206b48ca9b4f38e55.zip
updated pot file; added Sardinian file
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/po/Makefile b/po/Makefile
index 9d7bcad..808621e 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -6,7 +6,7 @@ PGOAL = userdrake
# perl files to search translatable strings in
PL_FILES = $(shell cat POTFILES.in | sed 's,^,../,' )
# C-like files to search translatable strings in
-#CFILES =
+CFILES = ../USER/USER.xs
POFILES = $(shell ls *.po)
MOFILES = $(POFILES:%.po=%.mo)
@@ -29,11 +29,11 @@ clean:
msgfmt -o $@ $<
$(PGOAL).pot: POTFILES.in $(PL_FILES) $(CFILES)
- #xgettext -F -n --add-comments \
- #--keyword=_ --keyword=__ --keyword=N_ --keyword=N \
- #--keyword=gettext \
- #--language=C -o placeholder.pot $(CFILES)
- touch placeholder.pot
+ xgettext -F -n --add-comments \
+ --keyword=_ --keyword=__ --keyword=N_ --keyword=N \
+ --keyword=gettext \
+ --language=C -o placeholder.pot $(CFILES)
+ #touch placeholder.pot
perl_checker -q --generate-pot $(PGOAL)_tmp.pot $(PL_FILES) || rm -f $(PGOAL)_tmp.pot
[ ! -e $(PGOAL)_tmp.pot ] || msgcat --use-first placeholder.pot $(PGOAL)_tmp.pot > $@
rm -f placeholder.pot $(PGOAL)_tmp.pot