configure ATS ports conflict-free for tests
[oweals/gnunet.git] / contrib / Makefile.am
index b8dae1bbf5e57db2c42f508adaa35d81fd21c3d8..7ad8e542ac5d554659a632488953c05c83f0d510 100644 (file)
@@ -7,7 +7,8 @@ timeout_watchdog_SOURCES = \
 endif
 
 noinst_SCRIPTS = \
- gnunet_pyexpect.py
+ gnunet_pyexpect.py \
+ gnunet_janitor.py
 
 dist_pkgdata_DATA = \
  gnunet-logo-color.png \
@@ -18,14 +19,14 @@ EXTRA_DIST = \
  hostlist.cgi \
  hostlist.php \
  report.sh \
- gnunet_pyexpect.py.in
+ gnunet_pyexpect.py.in \
+ gnunet_janitor.py.in
 
 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
 
-gnunet_pyexpect.py: gnunet_pyexpect.py.in Makefile
-       $(do_subst) < $(srcdir)/gnunet_pyexpect.py.in > gnunet_pyexpect.py
-       chmod +x gnunet_pyexpect.py
-
+%.py: %.py.in Makefile
+       $(do_subst) < $(srcdir)/$< > $@
+       chmod +x $@
 
 # init_gnunet_redhat \
 # init_gnunet_ubuntu \