diff options
Diffstat (limited to 'src/consensus/Makefile.am')
-rw-r--r-- | src/consensus/Makefile.am | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/consensus/Makefile.am b/src/consensus/Makefile.am index c0205ee5d..991e36a95 100644 --- a/src/consensus/Makefile.am +++ b/src/consensus/Makefile.am | |||
@@ -27,6 +27,17 @@ 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 | check-python-style: | ||
39 | flake8 consensus-simulation.py.in | ||
40 | |||
30 | lib_LTLIBRARIES = \ | 41 | lib_LTLIBRARIES = \ |
31 | libgnunetconsensus.la | 42 | libgnunetconsensus.la |
32 | 43 | ||
@@ -103,5 +114,12 @@ test_consensus_api_LDADD = \ | |||
103 | $(top_builddir)/src/testing/libgnunettesting.la \ | 114 | $(top_builddir)/src/testing/libgnunettesting.la \ |
104 | libgnunetconsensus.la | 115 | libgnunetconsensus.la |
105 | 116 | ||
117 | noinst_SCRIPTS = \ | ||
118 | consensus-simulation.py | ||
119 | |||
120 | CLEANFILES = \ | ||
121 | $(noinst_SCRIPTS) | ||
122 | |||
106 | EXTRA_DIST = \ | 123 | EXTRA_DIST = \ |
107 | test_consensus.conf | 124 | test_consensus.conf \ |
125 | consensus-simulation.py.in | ||