Finished option to set unset headers to fixed value, update docs/specs.
[shibboleth/cpp-sp.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 ACLOCAL_AMFLAGS = -I .
4
5 EXTRA_DIST = \
6         schemas doc isapi_shib isapi_shib_gui \
7         Shibboleth.dsw libtool.m4 acx_pthread.m4 acx_rpctest.m4 depcomp \
8         config_win32.h posttest/posttest.dsp shibtest/shibtest.dsp \
9         shibboleth.spec.in shibboleth.spec pkginfo.in pkginfo checkinstall
10
11 dist-hook:
12         rm -rf `find $(distdir)/schemas -name CVS`
13         rm -rf `find $(distdir)/schemas -name Makefile`
14         rm -rf `find $(distdir)/configs -name CVS`
15         rm -rf `find $(distdir)/configs -name Makefile`
16         rm -rf `find $(distdir)/doc -name CVS`
17         rm -rf `find $(distdir)/doc -name Makefile`
18         rm -rf `find $(distdir)/isapi_shib -name CVS`
19         rm -rf `find $(distdir)/isapi_shib_gui -name CVS`
20
21 WANT_SUBDIRS = @WANT_SUBDIRS@
22
23 SUBDIRS = $(WANT_SUBDIRS)
24
25 DIST_SUBDIRS = adfs doc oncrpc shib schemas configs shib-target shar test \
26         apache siterefresh shib-mysql-ccache xmlproviders nsapi_shib selinux
27
28 all-local: shibboleth.spec pkginfo
29
30 shibboleth.spec: shibboleth.spec.in Makefile
31         rm -f $@.tmp
32         sed < $< > $@.tmp \
33             -e 's:@-VERSION-@:${VERSION}:'
34         mv $@.tmp $@
35
36 pkginfo: pkginfo.in Makefile
37         rm -f $@.tmp
38         sed < $< > $@.tmp \
39             -e 's:@-VERSION-@:${VERSION}:'
40         mv $@.tmp $@
41
42 DISTCLEANFILES = shibboleth.spec pkginfo