diff options
-rw-r--r-- | po/Makefile.in.in | 8 | ||||
-rw-r--r-- | po/update.pl.in (renamed from po/update.pl) | 2 |
2 files changed, 8 insertions, 2 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 $@ $<"; \ |
diff --git a/po/update.pl b/po/update.pl.in index c7c34b612..7b7af52ef 100644 --- a/po/update.pl +++ b/po/update.pl.in | |||
@@ -1,4 +1,4 @@ | |||
1 | #!/usr/bin/perl -w | 1 | #!@PERL@ -w |
2 | 2 | ||
3 | # GNOME po update utility. | 3 | # GNOME po update utility. |
4 | # (C) 2000 The Free Software Foundation | 4 | # (C) 2000 The Free Software Foundation |