summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/po/Makefile b/po/Makefile
index d276f0c9..550b4c80 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -6,7 +6,6 @@ PGOAL = mdkonline
GOALS = $(PGOAL).pot $(foreach a, $(LANGS), $(a).mo)
PL_FILES = ../mdkonline ../mdkupdate
-PL_CFILES = $(PL_FILES:%=%_.c)
# $(foreach a, $(LANGS), $($(a).mo))
@@ -24,13 +23,9 @@ clean:
%.mo: %.po
msgfmt -o $@ $<
-$(PL_CFILES): %_.c: %
- ./fake_c.pl $< > $@
-
-%.pot: $(PL_CFILES)
+%.pot: $(PL_FILES)
xgettext -F -n --add-comments='-PO' --keyword=__ --keyword=_ \
--keyword=N_ --keyword=N \
--keyword=I_ --keyword=i18n \
- --language=C -o $@ $(PL_CFILES)
- @rm -rf $(PL_CFILES)
+ --language=perl -o $@ $(PL_FILES)