+%.py: %.py.in Makefile
+ $(do_subst) < $(srcdir)/$< > $@
+ chmod +x $@
+
+gnunet_testing.py: gnunet_testing.py.in Makefile
+ $(do_subst) < $(srcdir)/gnunet_testing.py.in > gnunet_testing.py
+ chmod +x gnunet_testing.py
+
+gnunet_pyexpect.py: gnunet_pyexpect.py.in Makefile
+ $(do_subst) < $(srcdir)/gnunet_pyexpect.py.in > gnunet_pyexpect.py
+ chmod +x gnunet_pyexpect.py
+
+test_integration_bootstrap_and_connect.py: test_integration_bootstrap_and_connect.py.in Makefile
+ $(do_subst) < $(srcdir)/test_integration_bootstrap_and_connect.py.in > test_integration_bootstrap_and_connect.py
+ chmod +x test_integration_bootstrap_and_connect.py
+
+test_integration_disconnect.py: test_integration_disconnect.py.in Makefile
+ $(do_subst) < $(srcdir)/test_integration_disconnect.py.in > test_integration_disconnect.py
+ chmod +x test_integration_disconnect.py
+
+test_integration_disconnect_nat.py: test_integration_disconnect_nat.py.in Makefile
+ $(do_subst) < $(srcdir)/test_integration_disconnect_nat.py.in > test_integration_disconnect_nat.py
+ chmod +x test_integration_disconnect_nat.py
+
+test_integration_reconnect.py: test_integration_reconnect.py.in Makefile
+ $(do_subst) < $(srcdir)/test_integration_reconnect.py.in > test_integration_reconnect.py
+ chmod +x test_integration_reconnect.py
+
+test_integration_reconnect_nat.py: test_integration_reconnect_nat.py.in Makefile
+ $(do_subst) < $(srcdir)/test_integration_reconnect_nat.py.in > test_integration_reconnect_nat.py
+ chmod +x test_integration_reconnect_nat.py
+