diff options
author | LRN <lrn1986@gmail.com> | 2012-07-22 13:47:17 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2012-07-22 13:47:17 +0000 |
commit | d118e92a9fbd155e93edeb7a910566b68a429694 (patch) | |
tree | 1592874238f2d261ee463975cb48b1fb79f27b40 /src/dht/Makefile.am | |
parent | 3e578a363db4b1b5840c06a9ac2ac54a68fb6657 (diff) | |
download | gnunet-d118e92a9fbd155e93edeb7a910566b68a429694.tar.gz gnunet-d118e92a9fbd155e93edeb7a910566b68a429694.zip |
pythonize test_dht_tools
Diffstat (limited to 'src/dht/Makefile.am')
-rw-r--r-- | src/dht/Makefile.am | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/dht/Makefile.am b/src/dht/Makefile.am index c75525ee3..a7d22c0ed 100644 --- a/src/dht/Makefile.am +++ b/src/dht/Makefile.am | |||
@@ -212,7 +212,18 @@ EXTRA_DIST = \ | |||
212 | test_dht_multipeer_data.conf \ | 212 | test_dht_multipeer_data.conf \ |
213 | test_dht_2dtorus.conf \ | 213 | test_dht_2dtorus.conf \ |
214 | test_dht_line.conf \ | 214 | test_dht_line.conf \ |
215 | test_dht_tools.py.in \ | ||
215 | multipeer_topo.dat | 216 | multipeer_topo.dat |
216 | 217 | ||
217 | check_SCRIPTS = \ | 218 | check_SCRIPTS = \ |
218 | test_dht_tools.sh | 219 | test_dht_tools.py |
220 | |||
221 | do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' | ||
222 | |||
223 | %.py: %.py.in Makefile | ||
224 | $(do_subst) < $(srcdir)/$< > $@ | ||
225 | chmod +x $@ | ||
226 | |||
227 | test_dht_tools.py: test_dht_tools.py.in Makefile | ||
228 | $(do_subst) < $(srcdir)/test_dht_tools.py.in > test_dht_tools.py | ||
229 | chmod +x test_dht_tools.py | ||