summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-01-09 15:20:52 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-01-09 15:20:52 +0000
commit59964287ffd35ff75ddbb5212f4c0ac68cfc8ba8 (patch)
treeb0d4d5dd6546ca38e0d9e2ad3712074f455cf614
parentaa8dd1acaebd67bef75a58efcfd9fcb8716a223f (diff)
downloaddrakx-59964287ffd35ff75ddbb5212f4c0ac68cfc8ba8.tar
drakx-59964287ffd35ff75ddbb5212f4c0ac68cfc8ba8.tar.gz
drakx-59964287ffd35ff75ddbb5212f4c0ac68cfc8ba8.tar.bz2
drakx-59964287ffd35ff75ddbb5212f4c0ac68cfc8ba8.tar.xz
drakx-59964287ffd35ff75ddbb5212f4c0ac68cfc8ba8.zip
get translated strings in directory gi/perl-install to have xxx.pm instead of ../../xxx.pm
-rw-r--r--perl-install/share/po/Makefile9
1 files changed, 5 insertions, 4 deletions
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: