summaryrefslogtreecommitdiffstats
path: root/perl-install/share/po/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/share/po/Makefile')
-rw-r--r--perl-install/share/po/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/perl-install/share/po/Makefile b/perl-install/share/po/Makefile
index e556b5e36..091a87d6a 100644
--- a/perl-install/share/po/Makefile
+++ b/perl-install/share/po/Makefile
@@ -1,11 +1,13 @@
-PMSFILES = $(shell find .. -name "*.pm" | grep -v "^../po" | grep -v "^../c/")
+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 $(POFILES:%=%t) $(PMSCFILES)
+ rm -f empty.po messages $(POFILES:%=%t) $(PMSCFILES)
verif:
perl -ne '/^\s*#/ or $$i += my @l = /\b__?\(/g; END { print "$$i\n" }' $(PMSFILES)
@@ -18,7 +20,7 @@ $(POFILES): DrakX.pot
DrakX.pot: $(PMSFILES)
$(MAKE) $(PMSCFILES);
- xgettext -F -n --keyword=_ --keyword=__ -o DrakX.pot $(PMSCFILES)
+ xgettext -F -n --keyword=_ --keyword=__ -o $@ $(PMSCFILES)
rm $(PMSCFILES)
$(PMSCFILES): %_.c: %