Export authn instant.
[shibboleth/cpp-sp.git] / Makefile.am
index a1181cc..0331a98 100644 (file)
@@ -3,23 +3,33 @@ AUTOMAKE_OPTIONS = foreign
 ACLOCAL_AMFLAGS = -I .
 
 EXTRA_DIST = \
-       schemas configs doc isapi_shib \
-       Shibboleth.dsw libtool.m4 acx_pthread.m4 acx_rpctest.m4 \
-    posttest/posttest.dsp \
-    shibtest/shibtest.dsp
-
-dist-hook:
-       rm -rf `find $(distdir)/schemas -name CVS`
-       rm -rf `find $(distdir)/schemas -name Makefile`
-       rm -rf `find $(distdir)/configs -name CVS`
-       rm -rf `find $(distdir)/configs -name Makefile`
-       rm -rf `find $(distdir)/doc -name CVS`
-       rm -rf `find $(distdir)/doc -name Makefile`
-       rm -rf `find $(distdir)/isapi_shib -name CVS`
+       isapi_shib \
+       Shibboleth.dsw libtool.m4 acx_pthread.m4 acx_rpctest.m4 depcomp \
+       config_win32.h posttest/posttest.dsp shibtest/shibtest.dsp \
+       shibboleth.spec.in shibboleth.spec pkginfo.in pkginfo depend postinstall
 
 WANT_SUBDIRS = @WANT_SUBDIRS@
 
 SUBDIRS = $(WANT_SUBDIRS)
 
-DIST_SUBDIRS = doc oncrpc shib schemas configs shib-target shar test \
-       mod_shire mod_shibrm apache-2.0 siterefresh shib-mysql-ccache
+DIST_SUBDIRS = adfs doc oncrpc shib schemas configs shib-target shar test \
+       apache fastcgi siterefresh shib-mysql-ccache xmlproviders nsapi_shib selinux
+
+all-local: shibboleth.spec pkginfo
+
+dist-hook:
+       rm -rf `find $(distdir)/isapi -name .svn`
+
+shibboleth.spec: shibboleth.spec.in Makefile
+       rm -f $@.tmp
+       sed < $< > $@.tmp \
+           -e 's:@-VERSION-@:${VERSION}:'
+       mv $@.tmp $@
+
+pkginfo: pkginfo.in Makefile
+       rm -f $@.tmp
+       sed < $< > $@.tmp \
+           -e 's:@-VERSION-@:${VERSION}:'
+       mv $@.tmp $@
+
+DISTCLEANFILES = shibboleth.spec pkginfo