https://issues.shibboleth.net/jira/browse/SSPCPP-104
[shibboleth/cpp-sp.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 ACLOCAL_AMFLAGS = -I .
4
5 EXTRA_DIST = \
6         isapi_shib \
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 depend postinstall
10
11 WANT_SUBDIRS = @WANT_SUBDIRS@
12
13 SUBDIRS = $(WANT_SUBDIRS)
14
15 DIST_SUBDIRS = adfs doc oncrpc shib schemas configs shib-target shar test \
16         apache fastcgi siterefresh shib-mysql-ccache xmlproviders nsapi_shib selinux
17
18 all-local: shibboleth.spec pkginfo
19
20 dist-hook:
21         rm -rf `find $(distdir)/isapi_shib -name .svn`
22
23 shibboleth.spec: shibboleth.spec.in Makefile
24         rm -f $@.tmp
25         sed < $@.in > $@.tmp \
26             -e 's:@-VERSION-@:${VERSION}:'
27         mv $@.tmp $@
28
29 pkginfo: pkginfo.in Makefile
30         rm -f $@.tmp
31         sed < $@.in > $@.tmp \
32             -e 's:@-VERSION-@:${VERSION}:'
33         mv $@.tmp $@
34
35 DISTCLEANFILES = shibboleth.spec pkginfo