diff options
author | Nils Gillmann <ng0@n0.is> | 2018-05-18 07:31:25 +0000 |
---|---|---|
committer | Nils Gillmann <ng0@n0.is> | 2018-05-18 07:31:25 +0000 |
commit | c2f27dfe8218545c327ab49d225a49910347c5c6 (patch) | |
tree | c91be01693a3909d346967eecc0ce8feb33740d7 /po/Makefile.in.in | |
parent | 18e7e14b3ff70614ee807e7d34b5fdf31910f88f (diff) | |
download | gnunet-c2f27dfe8218545c327ab49d225a49910347c5c6.tar.gz gnunet-c2f27dfe8218545c327ab49d225a49910347c5c6.zip |
po: Generate perl bin path
Signed-off-by: Nils Gillmann <ng0@n0.is>
Diffstat (limited to 'po/Makefile.in.in')
-rw-r--r-- | po/Makefile.in.in | 8 |
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 = \ | |||
76 | 76 | ||
77 | CATALOGS = @CATALOGS@ | 77 | CATALOGS = @CATALOGS@ |
78 | 78 | ||
79 | do_perl_subst = $(SED) -e 's,[@]PERL[@],$(PERL),g' | ||
80 | |||
79 | # Makevars gets inserted here. (Don't remove this line!) | 81 | # Makevars gets inserted here. (Don't remove this line!) |
80 | 82 | ||
81 | .SUFFIXES: | 83 | .SUFFIXES: |
82 | .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update | 84 | .SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .pl.in .pl |
85 | |||
86 | .pl.in.pl: | ||
87 | $(do_perl_subst) < $< > $@ | ||
88 | chmod +x $@ | ||
83 | 89 | ||
84 | .po.mo: | 90 | .po.mo: |
85 | @echo "$(MSGFMT) -c -o $@ $<"; \ | 91 | @echo "$(MSGFMT) -c -o $@ $<"; \ |