[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] 02/02: Use Suffix Extensions in Makefiles (doc, sr
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] 02/02: Use Suffix Extensions in Makefiles (doc, src/{arm, dht, integration, statistics}) for improved portability. |
Date: |
Tue, 17 Oct 2017 14:34:55 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet.
commit 7348fad86391b913ecc41f986066f260efb04633
Author: ng0 <address@hidden>
AuthorDate: Tue Oct 17 12:29:35 2017 +0000
Use Suffix Extensions in Makefiles (doc,
src/{arm,dht,integration,statistics}) for improved portability.
---
doc/Makefile.am | 1 +
src/arm/Makefile.am | 3 ++-
src/dht/Makefile.am | 3 ++-
src/integration-tests/Makefile.am | 3 ++-
src/statistics/Makefile.am | 3 ++-
5 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 1a8bb64b9..d9a68d533 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -150,6 +150,7 @@ lego_stack.png: images/lego_stack.svg
convert images/lego_stack.svg images/lego_stack.png &&
pngcrush images/lego_stack.png images/lego_stack.png
+# FIXME: The usage of 'date' strings causes a warning.
version.texi:
echo "@set UPDATED $(date +'%d %B %Y')" > $@
echo "@set UPDATED-MONTH $(date +'%B %Y')" >> $@
diff --git a/src/arm/Makefile.am b/src/arm/Makefile.am
index 373847fde..b1706a479 100644
--- a/src/arm/Makefile.am
+++ b/src/arm/Makefile.am
@@ -92,7 +92,8 @@ test_gnunet_service_arm_SOURCES = \
do_subst = $(SED) -e 's,address@hidden@],$(PYTHON),g'
-%.py: %.py.in Makefile
+SUFFIXES = .py.in .py
+.py.in.py:
$(do_subst) < $(srcdir)/$< > $@
chmod +x $@
diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am
index 00ce0e934..4a78ea4c7 100644
--- a/src/dht/Makefile.am
+++ b/src/dht/Makefile.am
@@ -213,7 +213,8 @@ endif
do_subst = $(SED) -e 's,address@hidden@],$(PYTHON),g' -e
's,address@hidden@],$(bindir),g'
-%.py: %.py.in Makefile
+SUFFIXES = .py.in .py
+.py.in.py:
$(do_subst) < $(srcdir)/$< > $@
chmod +x $@
diff --git a/src/integration-tests/Makefile.am
b/src/integration-tests/Makefile.am
index 6fff0b407..368980064 100644
--- a/src/integration-tests/Makefile.am
+++ b/src/integration-tests/Makefile.am
@@ -42,7 +42,8 @@ endif
do_subst = $(SED) -e 's,address@hidden@],$(PYTHON),g'
-%.py: %.py.in Makefile
+SUFFIXES = .py.in .py
+.py.in.py:
$(do_subst) < $(srcdir)/$< > $@
chmod +x $@
diff --git a/src/statistics/Makefile.am b/src/statistics/Makefile.am
index b2e256960..16a1ea2d0 100644
--- a/src/statistics/Makefile.am
+++ b/src/statistics/Makefile.am
@@ -90,7 +90,8 @@ endif
do_subst = $(SED) -e 's,address@hidden@],$(PYTHON),g'
-%.py: %.py.in Makefile
+SUFFIXES = .py.in .py
+.py.in.py:
$(do_subst) < $(srcdir)/$< > $@
chmod +x $@
--
To stop receiving notification emails like this one, please contact
address@hidden