summaryrefslogtreecommitdiff
path: root/po/Makefile.in.in
diff options
context:
space:
mode:
Diffstat (limited to 'po/Makefile.in.in')
-rw-r--r--po/Makefile.in.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/po/Makefile.in.in b/po/Makefile.in.in
index 83d8838ac..4daed5420 100644
--- a/po/Makefile.in.in
+++ b/po/Makefile.in.in
@@ -76,10 +76,16 @@ POTFILES = \
CATALOGS = @CATALOGS@
+do_perl_subst = $(SED) -e 's,[@]PERL[@],$(PERL),g'
+
# Makevars gets inserted here. (Don't remove this line!)
.SUFFIXES:
-.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update
+.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .pl.in .pl
+
+.pl.in.pl:
+ $(do_perl_subst) < $< > $@
+ chmod +x $@
.po.mo:
@echo "$(MSGFMT) -c -o $@ $<"; \