Update issues fixed links.
[shibboleth/cpp-opensaml.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 ACLOCAL_AMFLAGS = -I .
4
5 include doxygen.am
6
7 MOSTLYCLEANFILES = $(DX_CLEANFILES)
8
9 dist-hook:
10         rm -rf `find $(distdir)/samltest/data -name .svn`
11         rm -rf `find $(distdir)/doc/api -name .svn`
12
13
14 SUBDIRS = doc schemas saml samltest samlsign
15
16 if DX_COND_doc
17 all-local: opensaml.spec pkginfo doxygen-doc
18 else
19 all-local: opensaml.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 opensaml.spec: opensaml.spec.in Makefile
27         rm -f $@.tmp
28         sed < $@.in > $@.tmp \
29             -e 's:@-VERSION-@:${VERSION}:'
30         mv $@.tmp $@
31
32 pkginfo: pkginfo.in Makefile
33         rm -f $@.tmp
34         sed < $@.in > $@.tmp \
35             -e 's:@-VERSION-@:${VERSION}:'
36         mv $@.tmp $@
37
38 EXTRA_DIST = $(DX_CONFIG) \
39         cpp-opensaml2.sln \
40         libtool.m4 \
41         doxygen.m4 \
42         acx_pthread.m4 \
43         depcomp \
44         config_win32.h \
45         opensaml.spec.in \
46         opensaml.spec \
47         pkginfo.in \
48         pkginfo \
49         depend \
50         postinstall
51
52 DISTCLEANFILES = opensaml.spec pkginfo