Solaris pkg scripts
[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
20 WANT_SUBDIRS = @WANT_SUBDIRS@
21
22 SUBDIRS = $(WANT_SUBDIRS)
23
24 DIST_SUBDIRS = doc oncrpc shib schemas configs shib-target shar test \
25         apache siterefresh shib-mysql-ccache xmlproviders selinux
26
27 all-local: shibboleth.spec pkginfo
28
29 shibboleth.spec: shibboleth.spec.in Makefile
30         rm -f $@.tmp
31         sed < $< > $@.tmp \
32             -e 's:@-VERSION-@:${VERSION}:'
33         mv $@.tmp $@
34
35 pkginfo: pkginfo.in Makefile
36         rm -f $@.tmp
37         sed < $< > $@.tmp \
38             -e 's:@-VERSION-@:${VERSION}:'
39         mv $@.tmp $@
40
41 DISTCLEANFILES = shibboleth.spec pkginfo