[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: po: Generate perl bin path
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: po: Generate perl bin path |
Date: |
Fri, 18 May 2018 09:31:00 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new c2f27dfe8 po: Generate perl bin path
c2f27dfe8 is described below
commit c2f27dfe8218545c327ab49d225a49910347c5c6
Author: Nils Gillmann <address@hidden>
AuthorDate: Fri May 18 07:31:25 2018 +0000
po: Generate perl bin path
Signed-off-by: Nils Gillmann <address@hidden>
---
po/Makefile.in.in | 8 +++++++-
po/{update.pl => update.pl.in} | 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 = \
CATALOGS = @CATALOGS@
+do_perl_subst = $(SED) -e 's,address@hidden@],$(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 $@ $<"; \
diff --git a/po/update.pl b/po/update.pl.in
similarity index 99%
rename from po/update.pl
rename to po/update.pl.in
index c7c34b612..7b7af52ef 100644
--- a/po/update.pl
+++ b/po/update.pl.in
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
address@hidden@ -w
# GNOME po update utility.
# (C) 2000 The Free Software Foundation
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: po: Generate perl bin path,
gnunet <=