summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/Makefile
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-10 10:45:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-10 10:45:57 +0000
commitb7aa47e32bb64232577863f8911ac00c03d2de1b (patch)
treeb32fbc1ead081f6558fd5033245616092a03f359 /perl-install/share/po/Makefile
parent87ba59029dc4b91571795ee52e94a5b46fafec2c (diff)
downloaddrakx-backup-do-not-use-b7aa47e32bb64232577863f8911ac00c03d2de1b.tar
drakx-backup-do-not-use-b7aa47e32bb64232577863f8911ac00c03d2de1b.tar.gz
drakx-backup-do-not-use-b7aa47e32bb64232577863f8911ac00c03d2de1b.tar.bz2
drakx-backup-do-not-use-b7aa47e32bb64232577863f8911ac00c03d2de1b.tar.xz
drakx-backup-do-not-use-b7aa47e32bb64232577863f8911ac00c03d2de1b.zip
- rename help-*.po by help-*.pot
- fix typo in script removing $lang.po translations to favour help-*.pot
Diffstat (limited to 'perl-install/share/po/Makefile')
-rw-r--r--perl-install/share/po/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/share/po/Makefile b/perl-install/share/po/Makefile
index 5773bace8..6ca5adefa 100644
--- a/perl-install/share/po/Makefile
+++ b/perl-install/share/po/Makefile
@@ -24,8 +24,8 @@ $(PMSCFILES): %_.c: %
./fake_c.pl $< > $@
$(POFILES): DrakX.pot
- perl -ne 'print unless /^#.*\Qdrakx-help.xml/ .. /^$/' $@ > $@t
- if [ -e help-$@ ]; then msgmerge -C help-$@ $@t $< > $@; else msgmerge $@t $< > $@; fi
+ perl -ne 'print unless /^#.*\Qdrakx-help.xml/ .. /^$$/' $@ > $@t
+ if [ -e help-$@t ]; then msgmerge -C help-$@t $@t $< > $@; else msgmerge $@t $< > $@; fi
rm $@t
DrakX.pot: $(PMSFILES)
@@ -41,7 +41,7 @@ install:
done
clean:
- rm -rf drakx-help.xml doc empty.po tmp.* messages tmp.pot *.mo $(POFILES:%=%t) $(PMSCFILES)
+ rm -rf drakx-help.xml help-*.po{t,} doc empty.po tmp.* messages tmp.pot *.mo $(POFILES:%=%t) $(PMSCFILES)
check:
@grep -F '$$' DrakX.pot && { echo "bad translation strings (contains \$$) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"; exit 1; } ||: