- update default values, eliminate obsolete ones
[oweals/gnunet.git] / src / template / Makefile.am
index 1769191e7a1d965566a865e3de5f661d708755e3..4df4eb4845b6e90d6f70d840d135c9b67a0c744d 100644 (file)
@@ -1,7 +1,9 @@
-INCLUDES = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
 pkgcfgdir= $(pkgdatadir)/config.d/
 
+libexecdir= $(pkglibdir)/libexec/
+
 dist_pkgcfg_DATA = \
   template.conf
 
@@ -14,7 +16,9 @@ if USE_COVERAGE
 endif
 
 bin_PROGRAMS = \
- gnunet-template \
+ gnunet-template 
+
+libexec_PROGRAMS = \
  gnunet-service-template
 
 gnunet_template_SOURCES = \
@@ -34,6 +38,7 @@ check_PROGRAMS = \
  test_template_api
 
 if ENABLE_TEST_RUN
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
 TESTS = $(check_PROGRAMS)
 endif