Remove extra reference to doc/api.
[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 memcache-store selinux
14
15 if DX_COND_doc
16 all-local: shibboleth.spec pkginfo doxygen-doc
17 else
18 all-local: shibboleth.spec pkginfo
19 endif
20
21 install-data-hook:
22         rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api
23         cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@
24
25 dist-hook:
26         rm -rf `find $(distdir)/isapi_shib -name .svn`
27         rm -rf `find $(distdir)/doc/api -name .svn`
28
29 shibboleth.spec: shibboleth.spec.in Makefile
30         rm -f $@.tmp
31         sed < $@.in > $@.tmp \
32             -e 's:@-VERSION-@:${VERSION}:'
33         mv $@.tmp $@
34
35 pkginfo: pkginfo.in Makefile
36         rm -f $@.tmp
37         sed < $@.in > $@.tmp \
38             -e 's:@-VERSION-@:${VERSION}:'
39         mv $@.tmp $@
40
41 EXTRA_DIST = $(DX_CONFIG) \
42     isapi_shib \
43     Shibboleth.sln \
44     libtool.m4 \
45     doxygen.m4 \
46     acx_pthread.m4 \
47     depcomp \
48     config_win32.h \
49     shibboleth.spec.in \
50     shibboleth.spec \
51     pkginfo.in \
52     pkginfo \
53     depend \
54     postinstall
55
56 DISTCLEANFILES = shibboleth.spec pkginfo