added -module -avoid-version LDFLAGS
[strongswan.git] / Makefile.am
index e6a73e9..1729499 100644 (file)
@@ -1,4 +1,9 @@
-SUBDIRS = src testing scripts
+SUBDIRS = src testing
+
+if USE_SCRIPTS
+  SUBDIRS += scripts
+endif
+
 EXTRA_DIST = Doxyfile.in CREDITS
 CLEANFILES = apidoc Doxyfile
 
@@ -6,10 +11,7 @@ Doxyfile :    Doxyfile.in
                sed \
                -e "s:\@PACKAGE_VERSION\@:$(PACKAGE_VERSION):" \
                -e "s:\@PACKAGE_NAME\@:$(PACKAGE_NAME):" \
-               $< > $@
+               $(srcdir)/$@.in > $@
 
 apidoc :       Doxyfile
                doxygen
-
-dist-hook :
-               rm -rf `find $(distdir)/testing -name .svn`