gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 01/02: contrib/Makefile.am: Use more portable Suff


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 01/02: contrib/Makefile.am: Use more portable Suffixes Extensions.
Date: Tue, 17 Oct 2017 14:34:54 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnunet.

commit 4a3f7e1ce17b5109e713cdbb37ad85a8852d4723
Author: ng0 <address@hidden>
AuthorDate: Tue Oct 17 11:53:30 2017 +0000

    contrib/Makefile.am: Use more portable Suffixes Extensions.
---
 contrib/Makefile.am | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 07cff424c..ac8b15188 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -70,7 +70,20 @@ CLEANFILES = \
 
 do_subst = $(SED) -e 's,address@hidden@],$(PYTHON),g'
 
-%.py: %.py.in Makefile
+# Use SUFFIX Extension rules, they are more portable for every
+# implementation of 'make'.
+# You'll also run into the "'%' is a GNU make extension warning"
+# if you use this:
+#
+#%.py: %.py.in Makefile
+#      $(do_subst) < $< > $@
+#      chmod +x $@
+#
+# instead of this:
+
+SUFFIXES = .py.in .py
+
+.py.in.py:
        $(do_subst) < $< > $@
        chmod +x $@
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]