- remove adjust
[oweals/gnunet.git] / src / revocation / Makefile.am
index 5845474f3d1dac4010fa17cc5890ca652a47aa2d..18d379b0b586c13adbc1b9f42dc561b64e2abee9 100644 (file)
@@ -34,6 +34,7 @@ libgnunetrevocation_la_SOURCES = \
   revocation_api.c revocation.h
 libgnunetrevocation_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la \
+  $(LIBGCRYPT_LIBS) \
   $(GN_LIBINTL) $(XLIB) -lgcrypt
 libgnunetrevocation_la_LDFLAGS = \
   $(GN_LIB_LDFLAGS)  $(WINFLAGS) \
@@ -61,15 +62,16 @@ test_revocation_SOURCES = \
 test_revocation_LDADD = \
  $(top_builddir)/src/identity/libgnunetidentity.la \
  $(top_builddir)/src/revocation/libgnunetrevocation.la \
+ $(top_builddir)/src//core/libgnunetcore.la \
  $(top_builddir)/src/util/libgnunetutil.la \
  $(top_builddir)/src/testbed/libgnunettestbed.la
 
 check_PROGRAMS = \
- test_revocation 
+ test_revocation
 
 
 check_SCRIPTS = \
-       test_local_revocation.sh
+       test_local_revocation.py
 
 if ENABLE_TEST_RUN
  TESTS = \
@@ -77,5 +79,12 @@ if ENABLE_TEST_RUN
  $(check_PROGRAMS)
 endif
 
-EXTRA_DIST = test_revocation.conf
+do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
+
+test_local_revocation.py: test_local_revocation.py.in Makefile
+       $(do_subst) < $(srcdir)/test_local_revocation.py.in > test_local_revocation.py
+       chmod +x test_local_revocation.py
+
+EXTRA_DIST = test_revocation.conf \
+       test_local_revocation.py.in