aboutsummaryrefslogtreecommitdiffstats
path: root/po/Makefile
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-05-12 15:25:38 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-05-12 15:25:38 +0000
commitd99db036fdc356530e51d7fee939f75a45c4221c (patch)
tree2f8e442e4244d2b410b395981476e8bd2b8c7835 /po/Makefile
parent6f9333def9a51594c7e049a78fb32571d2108275 (diff)
downloadrpmdrake-d99db036fdc356530e51d7fee939f75a45c4221c.tar
rpmdrake-d99db036fdc356530e51d7fee939f75a45c4221c.tar.gz
rpmdrake-d99db036fdc356530e51d7fee939f75a45c4221c.tar.bz2
rpmdrake-d99db036fdc356530e51d7fee939f75a45c4221c.tar.xz
rpmdrake-d99db036fdc356530e51d7fee939f75a45c4221c.zip
obsolete grpmi by gurpm.pm (from urpmi) sharing code between gurpmi
and rpmdrake
Diffstat (limited to 'po/Makefile')
-rw-r--r--po/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/po/Makefile b/po/Makefile
index dc72d074..499f02f9 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -3,6 +3,7 @@ PGOAL = rpmdrake
# perl files to search translatable strings in
PL_FILES = ../rpmdrake ../edit-urpm-sources.pl ../rpmdrake.pm
+CFILES = ../grpmi/curl_download/curl_download.xs
POFILES = $(shell ls *.po)
MOFILES = $(POFILES:%.po=%.mo)
@@ -29,11 +30,14 @@ merge: $(PGOAL).pot
./get_from_compssusers.pl "$$n" > "$$n"m; \
done
-$(PGOAL).pot: $(PL_FILES)
+$(PGOAL).pot: $(PL_FILES) $(CFILES)
INTLTOOL_EXTRACT=./intltool-extract ./intltool-update --gettext-package desktopstuff --pot
perl_checker -q --generate-pot rpmdrake_tmp.pot $(PL_FILES)
- msgcat --use-first rpmdrake_tmp.pot desktopstuff.pot > $@
- rm -f desktopstuff.pot rpmdrake_tmp.pot
+ xgettext -F -n --add-comments='-PO' \
+ --keyword=_ --keyword=__ --keyword=N_ --keyword=N \
+ --language=C -o rpmdrake_tmp_c.pot $(CFILES)
+ msgcat --use-first rpmdrake_tmp.pot rpmdrake_tmp_c.pot desktopstuff.pot > $@
+ rm -f desktopstuff.pot rpmdrake_tmp.pot rpmdrake_tmp_c.pot
install:
for l in $(LANGS); do \