Use src/dst ports as configured in ike_cfg
[strongswan.git] / Makefile.am
index 536ee57..fcb2f2e 100644 (file)
@@ -1,4 +1,11 @@
-SUBDIRS = src testing scripts
+SUBDIRS = src testing
+
+if USE_SCRIPTS
+  SUBDIRS += scripts
+endif
+
+ACLOCAL_AMFLAGS = -I m4/config
+
 EXTRA_DIST = Doxyfile.in CREDITS
 CLEANFILES = apidoc Doxyfile
 
@@ -6,6 +13,7 @@ Doxyfile :     Doxyfile.in
                sed \
                -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
                -e "s:\@PACKAGE_NAME\@:$(PACKAGE_NAME):" \
+               -e "s:\@SRC_DIR\@:$(srcdir):" \
                $(srcdir)/$@.in > $@
 
 apidoc :       Doxyfile