Delete old files.
[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.sln libtool.m4 acx_pthread.m4 acx_rpctest.m4 depcomp \
8         config_win32.h shibboleth.spec.in shibboleth.spec pkginfo.in pkginfo checkinstall
9
10 dist-hook:
11         rm -rf `find $(distdir)/schemas -name Makefile`
12         rm -rf `find $(distdir)/configs -name Makefile`
13         rm -rf `find $(distdir)/doc -name Makefile`
14
15 WANT_SUBDIRS = @WANT_SUBDIRS@
16
17 SUBDIRS = $(WANT_SUBDIRS)
18
19 DIST_SUBDIRS = doc schemas configs shibsp shibd util \
20         apache siterefresh odbc-store nsapi_shib selinux
21
22 all-local: shibboleth.spec pkginfo
23
24 shibboleth.spec: shibboleth.spec.in Makefile
25         rm -f $@.tmp
26         sed < $< > $@.tmp \
27             -e 's:@-VERSION-@:${VERSION}:'
28         mv $@.tmp $@
29
30 pkginfo: pkginfo.in Makefile
31         rm -f $@.tmp
32         sed < $< > $@.tmp \
33             -e 's:@-VERSION-@:${VERSION}:'
34         mv $@.tmp $@
35
36 DISTCLEANFILES = shibboleth.spec pkginfo