From 59964287ffd35ff75ddbb5212f4c0ac68cfc8ba8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 9 Jan 2004 15:20:52 +0000 Subject: get translated strings in directory gi/perl-install to have xxx.pm instead of ../../xxx.pm --- perl-install/share/po/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'perl-install/share') diff --git a/perl-install/share/po/Makefile b/perl-install/share/po/Makefile index 783920a6f..07355143c 100644 --- a/perl-install/share/po/Makefile +++ b/perl-install/share/po/Makefile @@ -1,6 +1,7 @@ include ../../Makefile.config -PMSFILES = $(wildcard $(ALLPMS:%=../../%) ../../../move/move.pm ../../../move/tree/mdk_totem) +PMSFILES = $(ALLPMS) ../move/move.pm ../move/tree/mdk_totem +PMSFILES_HERE = $(wildcard $(PMSFILES:%=../../%)) POFILES = $(wildcard *.po) MOFILES = $(POFILES:%.po=%.mo) @@ -33,8 +34,8 @@ $(POFILES): DrakX.pot if [ -e help-$@t ]; then perl -pe 's|^#~ ||' -i $@t ; msgmerge -C $@t help-$@t $< > $@; else msgmerge $@t $< > $@; fi rm $@t -DrakX.pot: $(PMSFILES) - perl_checker -q --generate-pot $@ $(PMSFILES) +DrakX.pot: $(PMSFILES_HERE) + cd ../.. ; perl_checker -q --generate-pot share/po/$@ $(PMSFILES) perl i18n_compssUsers 2>/dev/null >> $@ install: @@ -50,7 +51,7 @@ check: @grep '[^\\]\$$' DrakX.pot && { echo 'bad translation strings (contains $$) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^'; exit 1; } ||: verif: - perl -ne '/^\s*#/ or $$i += my @l = /\b__?\(/g; END { print "$$i\n" }' $(PMSFILES) + perl -ne '/^\s*#/ or $$i += my @l = /\b__?\(/g; END { print "$$i\n" }' $(PMSFILES_HERE) perl -ne '$$i += my @l = /\.c:/g; END { print "$$i\n" }' DrakX.pot verif2: -- cgit v1.2.1