Forgot to update Windows version of config.h
[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 APIDOCS = doc/api
19 else
20 all-local: opensaml.spec pkginfo
21 endif
22
23 install-data-hook:
24         rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api
25         cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@
26
27 opensaml.spec: opensaml.spec.in Makefile
28         rm -f $@.tmp
29         sed < $@.in > $@.tmp \
30             -e 's:@-VERSION-@:${VERSION}:'
31         mv $@.tmp $@
32
33 pkginfo: pkginfo.in Makefile
34         rm -f $@.tmp
35         sed < $@.in > $@.tmp \
36             -e 's:@-VERSION-@:${VERSION}:'
37         mv $@.tmp $@
38
39 EXTRA_DIST = $(DX_CONFIG) \
40         $(APIDOCS) \
41         cpp-opensaml2.sln \
42         libtool.m4 \
43         doxygen.m4 \
44         acx_pthread.m4 \
45         depcomp \
46         config_win32.h \
47         opensaml.spec.in \
48         opensaml.spec \
49         pkginfo.in \
50         pkginfo \
51         depend \
52         postinstall
53
54 DISTCLEANFILES = opensaml.spec pkginfo