aboutsummaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
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