AUTOMAKE_OPTIONS = foreign
-
-ACLOCAL_AMFLAGS = -I .
+ACLOCAL_AMFLAGS = -I m4
include doxygen.am
SUBDIRS = $(WANT_SUBDIRS)
-DIST_SUBDIRS = doc schemas configs shibsp shibd adfs util apache nsapi_shib fastcgi odbc-store memcache-store selinux
-
-GENFILES = shibboleth.spec pkginfo Portfile
+DIST_SUBDIRS = \
+ doc \
+ schemas \
+ configs \
+ shibsp \
+ shibd \
+ adfs \
+ plugins \
+ util \
+ apache \
+ nsapi_shib \
+ fastcgi \
+ odbc-store \
+ memcache-store \
+ selinux
if DX_COND_doc
-all-local: doxygen-doc $(GENFILES)
+all-local: doxygen-doc
else
-all-local: $(GENFILES)
+all-local:
endif
-dist-hook:
- rm -rf `find $(distdir)/isapi_shib -name .svn`
- rm -rf `find $(distdir)/doc/api -name .svn`
-
-$(GENFILES): %: %.in Makefile
- rm -f $@.tmp
- sed < $@.in > $@.tmp \
- -e 's:@-VERSION-@:${VERSION}:'
- mv $@.tmp $@
-
+GENFILES = @PACKAGE_NAME@.spec
EXTRA_DIST = $(DX_CONFIG) \
- isapi_shib \
- Shibboleth.sln \
- libtool.m4 \
- doxygen.m4 \
- acx_pthread.m4 \
- depcomp \
- config_win32.h \
- $(GENFILES) \
- $(GENFILES:%=%.in) \
- depend \
- postinstall
-
-DISTCLEANFILES = $(GENFILES)
+ isapi_shib \
+ Shibboleth.sln \
+ config_win32.h \
+ $(GENFILES) \
+ $(GENFILES:%=%.in)