-## $Id$
-
AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I .
EXTRA_DIST = \
- schemas/cs-sstc-schema-assertion-01.xsd \
- schemas/cs-sstc-schema-protocol-01.xsd \
- schemas/soap-envelope.xsd \
- schemas/xmldsig-core-schema.xsd \
- schemas/xmldsig-filter2.xsd \
- schemas/xml.xsd \
- schemas/shibboleth.xsd \
- schemas/eduPerson.xsd \
- configs/accessError.html \
- configs/shar.logger \
- configs/shireError.html \
- configs/apache.config \
- configs/shibboleth.ini \
- configs/ca-bundle.crt \
- configs/shibboleth.logger \
- configs/rmError.html \
- configs/shire.logger
-
-SUBDIRS = @WANT_SUBDIRS@
+ schemas doc isapi_shib isapi_shib_gui \
+ Shibboleth.sln libtool.m4 acx_pthread.m4 acx_rpctest.m4 depcomp \
+ config_win32.h posttest/posttest.vcproj shibtest/shibtest.vcproj \
+ shibboleth.spec.in shibboleth.spec pkginfo.in pkginfo checkinstall
dist-hook:
- cp ../*.txt ../*.html $(distdir)
+ 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`
+
+WANT_SUBDIRS = @WANT_SUBDIRS@
+
+SUBDIRS = $(WANT_SUBDIRS)
+
+DIST_SUBDIRS = doc shib schemas configs shib-target shar test \
+ apache siterefresh odbc_ccache shib-mysql-ccache \
+ nsapi_shib selinux
+
+all-local: shibboleth.spec pkginfo
+
+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