include ../Makefile.config PMSFILES = $(shell find .. -name "*.pm" | grep -v "^../po" | grep -v "^../c/") $(STANDALONEPMS:%=../standalone/%) PMSCFILES = $(PMSFILES:%=%_.c) POFILES = $(shell ls *.po) all: $(POFILES) clean: rm -f empty.po messages $(POFILES:%=%t) $(PMSCFILES) verif: perl -ne '/^\s*#/ or $$i += my @l = /\b__?\(/g; END { print "$$i\n" }' $(PMSFILES) perl -ne '$$i += my @l = /\.c:/g; END { print "$$i\n" }' DrakX.pot $(POFILES): DrakX.pot cp -f $@ $@t msgmerge $@t $< > $@ rm $@t DrakX.pot: $(PMSFILES) $(MAKE) $(PMSCFILES); xgettext -F -n --keyword=_ --keyword=__ -o $@ $(PMSCFILES) rm $(PMSCFILES) $(PMSCFILES): %_.c: % perl -pe 's|^(__?\()| $$1|; s|#(.*)|/*\1*\/|; s|$$|\\n\\|' $< > $@ a>
Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorAhmad Samir <ahmad@mageia.org>2011-04-04 21:29:23 +0000
committerAhmad Samir <ahmad@mageia.org>2011-04-04 21:29:23 +0000
commita3deaaf2a329ae8bbdb82e92323e4680fa2da232 (patch)
tree219065c5f5654463ae5f5ff7926aaa067a11ea1a /perl-install
parent4f0f4a17dbed8d5d35a5591c4bc9d4c27e9fd90e (diff)
downloaddrakx-a3deaaf2a329ae8bbdb82e92323e4680fa2da232.tar
drakx-a3deaaf2a329ae8bbdb82e92323e4680fa2da232.tar.gz
drakx-a3deaaf2a329ae8bbdb82e92323e4680fa2da232.tar.bz2
drakx-a3deaaf2a329ae8bbdb82e92323e4680fa2da232.tar.xz
drakx-a3deaaf2a329ae8bbdb82e92323e4680fa2da232.zip
- perl -pi -e 's!"Activate ethernet cards promiscuity check."!"Activate Ethernet cards promiscuity check."!'
Diffstat (limited to 'perl-install')