aboutsummaryrefslogtreecommitdiff
path: root/src/statistics
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-10-17 12:29:35 +0000
committerng0 <ng0@infotropique.org>2017-10-17 12:29:35 +0000
commit7348fad86391b913ecc41f986066f260efb04633 (patch)
treedcf927f6e8974c017d2a0a2bfdfa0c61855e296b /src/statistics
parent4a3f7e1ce17b5109e713cdbb37ad85a8852d4723 (diff)
Use Suffix Extensions in Makefiles (doc, src/{arm,dht,integration,statistics}) for improved portability.
Diffstat (limited to 'src/statistics')
-rw-r--r--src/statistics/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/statistics/Makefile.am b/src/statistics/Makefile.am
index b2e256960e..16a1ea2d0f 100644
--- a/src/statistics/Makefile.am
+++ b/src/statistics/Makefile.am
@@ -90,7 +90,8 @@ endif
do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
-%.py: %.py.in Makefile
+SUFFIXES = .py.in .py
+.py.in.py:
$(do_subst) < $(srcdir)/$< > $@
chmod +x $@