summaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2004-02-06 17:55:03 +0000
committerPablo Saratxaga <pablo@mandriva.com>2004-02-06 17:55:03 +0000
commit1ea8be041531c62819431fa4e822b372a7dfce9f (patch)
treecaf5928a55f30a49212619da741a632f5b01099d /po/Makefile
parent51ac2415505bc7399731b04d89054d28dd288356 (diff)
downloadmgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.tar
mgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.tar.gz
mgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.tar.bz2
mgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.tar.xz
mgaonline-1ea8be041531c62819431fa4e822b372a7dfce9f.zip
updated pot file (now build with xgettext)
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)