diff options
Diffstat (limited to 'src/consensus/Makefile.am')
-rw-r--r-- | src/consensus/Makefile.am | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/consensus/Makefile.am b/src/consensus/Makefile.am index 4ad224aa3..24e685fb9 100644 --- a/src/consensus/Makefile.am +++ b/src/consensus/Makefile.am | |||
@@ -23,12 +23,10 @@ libexec_PROGRAMS += \ | |||
23 | gnunet-service-evil-consensus | 23 | gnunet-service-evil-consensus |
24 | endif | 24 | endif |
25 | 25 | ||
26 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | ||
27 | |||
28 | SUFFIXES = .py.in .py | 26 | SUFFIXES = .py.in .py |
29 | 27 | ||
30 | .py.in.py: | 28 | .py.in.py: |
31 | $(do_subst) < $< > $@ | 29 | $(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 < $< > $@ |
32 | chmod +x $@ | 30 | chmod +x $@ |
33 | 31 | ||
34 | check-python-style: | 32 | check-python-style: |