X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpeerinfo-tool%2FMakefile.am;h=bd8dfbd4a2e85380f7fbccc39e1b45fee2507377;hb=82e8f0e1cd800fe8de0251aa06463af88435637f;hp=25885a34cd639e24452dbfb8eab1e014b36df607;hpb=3779ffb18a1839f62e8d55139d23f262a5b66b9c;p=oweals%2Fgnunet.git diff --git a/src/peerinfo-tool/Makefile.am b/src/peerinfo-tool/Makefile.am index 25885a34c..bd8dfbd4a 100644 --- a/src/peerinfo-tool/Makefile.am +++ b/src/peerinfo-tool/Makefile.am @@ -13,16 +13,33 @@ bin_PROGRAMS = \ gnunet-peerinfo gnunet_peerinfo_SOURCES = \ - gnunet-peerinfo.c + gnunet-peerinfo.c \ + gnunet-peerinfo_plugins.c gnunet-peerinfo_plugins.h + gnunet_peerinfo_LDADD = \ $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \ $(top_builddir)/src/transport/libgnunettransport.la \ + $(top_builddir)/src/hello/libgnunethello.la \ + $(top_builddir)/src/statistics/libgnunetstatistics.la \ $(top_builddir)/src/util/libgnunetutil.la - -if HAVE_PYTHON_PEXPECT +if HAVE_PYTHON check_SCRIPTS = \ test_gnunet_peerinfo.py endif -TESTS = $(check_SCRIPTS) +if ENABLE_TEST_RUN +TESTS = $(check_SCRIPTS) +endif + +do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' + +test_gnunet_peerinfo.py: test_gnunet_peerinfo.py.in Makefile + $(do_subst) < $(srcdir)/test_gnunet_peerinfo.py.in > test_gnunet_peerinfo.py + chmod +x test_gnunet_peerinfo.py + +EXTRA_DIST = \ + test_gnunet_peerinfo.py.in \ + test_gnunet_peerinfo_data.conf + +CLEANFILES = $(check_SCRIPTS)