diff options
Diffstat (limited to 'src/statistics/Makefile.am')
-rw-r--r-- | src/statistics/Makefile.am | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/statistics/Makefile.am b/src/statistics/Makefile.am index 6d69d58d8..52f382156 100644 --- a/src/statistics/Makefile.am +++ b/src/statistics/Makefile.am | |||
@@ -84,15 +84,13 @@ check_SCRIPTS = \ | |||
84 | test_gnunet_statistics.py | 84 | test_gnunet_statistics.py |
85 | endif | 85 | endif |
86 | 86 | ||
87 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | ||
88 | |||
89 | SUFFIXES = .py.in .py | 87 | SUFFIXES = .py.in .py |
90 | .py.in.py: | 88 | .py.in.py: |
91 | $(do_subst) < $(srcdir)/$< > $@ | 89 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/$< > $@ |
92 | chmod +x $@ | 90 | chmod +x $@ |
93 | 91 | ||
94 | test_gnunet_statistics.py: test_gnunet_statistics.py.in Makefile | 92 | test_gnunet_statistics.py: test_gnunet_statistics.py.in Makefile |
95 | $(do_subst) < $(srcdir)/test_gnunet_statistics.py.in > test_gnunet_statistics.py | 93 | $(AWK) -v bdir="$(bindir)" -v py="$(PYTHON)" -v awkay="$(AWK_BINARY)" -v pfx="$(prefix)" -v prl="$(PERL)" -v sysconfdirectory="$(sysconfdir)" -v pkgdatadirectory="$(pkgdatadir)" -f $(top_srcdir)/bin/dosubst.awk < $(srcdir)/test_gnunet_statistics.py.in > test_gnunet_statistics.py |
96 | chmod +x test_gnunet_statistics.py | 94 | chmod +x test_gnunet_statistics.py |
97 | 95 | ||
98 | EXTRA_DIST = \ | 96 | EXTRA_DIST = \ |