$(SUDO_BINARY) chgrp $(GNUNETDNS_GROUP) $(bindir)/gnunet-helper-dns || true
$(SUDO_BINARY) chmod 4750 $(bindir)/gnunet-helper-dns || true
$(SUDO_BINARY) chgrp $(GNUNETDNS_GROUP) $(bindir)/gnunet-service-dns || true
- $(SUDO_BINARY) chmod 2755 $(bindir)/gnunet-service-dns || true
+ $(SUDO_BINARY) chmod 2750 $(bindir)/gnunet-service-dns || true
else
install-exec-hook:
endif
plugin_LTLIBRARIES = \
libgnunet_plugin_block_dns.la
+check_SCRIPTS = \
+ test_gnunet_dns.sh
+
gnunet_helper_dns_SOURCES = \
gnunet-helper-dns.c
gnunet-service-dns.c
gnunet_service_dns_LDADD = \
$(top_builddir)/src/tun/libgnunettun.la \
+ $(top_builddir)/src/mesh/libgnunetmesh.la \
$(top_builddir)/src/statistics/libgnunetstatistics.la \
$(top_builddir)/src/util/libgnunetutil.la \
$(GN_LIBINTL)
$(top_builddir)/src/block/$(GN_PLUGIN_LDFLAGS)
+if ENABLE_TEST_RUN
+TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
+endif
+EXTRA_DIST = \
+ $(check_SCRIPTS)