configure ATS ports conflict-free for tests
[oweals/gnunet.git] / contrib / Makefile.am
index a92307c2a608bf825ed92e723ed074094c2a313c..7ad8e542ac5d554659a632488953c05c83f0d510 100644 (file)
@@ -1,11 +1,15 @@
 if !MINGW
-bin_PROGRAMS = \
+noinst_PROGRAMS = \
  timeout_watchdog
 
 timeout_watchdog_SOURCES = \
  timeout_watchdog.c 
 endif
 
+noinst_SCRIPTS = \
+ gnunet_pyexpect.py \
+ gnunet_janitor.py
+
 dist_pkgdata_DATA = \
  gnunet-logo-color.png \
  defaults.conf
@@ -14,7 +18,15 @@ EXTRA_DIST = \
  coverage.sh \
  hostlist.cgi \
  hostlist.php \
- report.sh
+ report.sh \
+ gnunet_pyexpect.py.in \
+ gnunet_janitor.py.in
+
+do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
+
+%.py: %.py.in Makefile
+       $(do_subst) < $(srcdir)/$< > $@
+       chmod +x $@
 
 # init_gnunet_redhat \
 # init_gnunet_ubuntu \