Spaces to tabs.
[shibboleth/cpp-sp.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 ACLOCAL_AMFLAGS = -I .
4
5 include doxygen.am
6
7 MOSTLYCLEANFILES = $(DX_CLEANFILES)
8
9 WANT_SUBDIRS = @WANT_SUBDIRS@
10
11 SUBDIRS = $(WANT_SUBDIRS)
12
13 DIST_SUBDIRS = doc schemas configs shibsp shibd adfs util apache nsapi_shib fastcgi odbc-store selinux
14
15 if DX_COND_doc
16 all-local: shibboleth.spec pkginfo doxygen-doc
17 APIDOCS = doc/api
18 else
19 all-local: shibboleth.spec pkginfo
20 endif
21
22 install-data-hook:
23         rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api
24         cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@
25
26 shibboleth.spec: shibboleth.spec.in Makefile
27         rm -f $@.tmp
28         sed < $< > $@.tmp \
29             -e 's:@-VERSION-@:${VERSION}:'
30         mv $@.tmp $@
31
32 pkginfo: pkginfo.in Makefile
33         rm -f $@.tmp
34         sed < $< > $@.tmp \
35             -e 's:@-VERSION-@:${VERSION}:'
36         mv $@.tmp $@
37
38 EXTRA_DIST = $(DX_CONFIG) \
39     $(APIDOCS) \
40     isapi_shib \
41     Shibboleth.sln \
42     libtool.m4 \
43     doxygen.m4 \
44     acx_pthread.m4 \
45     depcomp \
46     config_win32.h \
47     shibboleth.spec.in \
48     shibboleth.spec \
49     pkginfo.in \
50     pkginfo \
51     checkinstall
52
53 DISTCLEANFILES = shibboleth.spec pkginfo