diff options
Diffstat (limited to 'src/consensus/Makefile.am')
-rw-r--r-- | src/consensus/Makefile.am | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/consensus/Makefile.am b/src/consensus/Makefile.am index c0205ee5d..c673e0407 100644 --- a/src/consensus/Makefile.am +++ b/src/consensus/Makefile.am | |||
@@ -27,6 +27,15 @@ libexec_PROGRAMS += \ | |||
27 | gnunet-service-evil-consensus | 27 | gnunet-service-evil-consensus |
28 | endif | 28 | endif |
29 | 29 | ||
30 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | ||
31 | |||
32 | SUFFIXES = .py.in .py | ||
33 | |||
34 | .py.in.py: | ||
35 | $(do_subst) < $< > $@ | ||
36 | chmod +x $@ | ||
37 | |||
38 | |||
30 | lib_LTLIBRARIES = \ | 39 | lib_LTLIBRARIES = \ |
31 | libgnunetconsensus.la | 40 | libgnunetconsensus.la |
32 | 41 | ||
@@ -103,5 +112,12 @@ test_consensus_api_LDADD = \ | |||
103 | $(top_builddir)/src/testing/libgnunettesting.la \ | 112 | $(top_builddir)/src/testing/libgnunettesting.la \ |
104 | libgnunetconsensus.la | 113 | libgnunetconsensus.la |
105 | 114 | ||
115 | noinst_SCRIPTS = \ | ||
116 | consensus-simulation.py | ||
117 | |||
118 | CLEANFILES = \ | ||
119 | $(noinst_SCRIPTS) | ||
120 | |||
106 | EXTRA_DIST = \ | 121 | EXTRA_DIST = \ |
107 | test_consensus.conf | 122 | test_consensus.conf \ |
123 | consensus-simulation.py.in | ||