doxygen autotools integration
[shibboleth/cpp-xmltooling.git] / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2
3 ACLOCAL_AMFLAGS = -I .
4
5 include doxygen.am
6
7 MOSTLYCLEANFILES = $(DX_CLEANFILES)
8
9 EXTRA_DIST = $(DX_CONFIG) \
10         doc \
11         schemas \
12         cpp-xmltooling.sln \
13         libtool.m4 \
14         acx_pthread.m4 \
15         doxygen.m4 \
16         depcomp \
17         config_win32.h
18
19 dist-hook:
20         rm -rf `find $(distdir)/xmltoolingtest/data -name .svn`
21         rm -rf `find $(distdir)/schemas -name .svn`
22         rm -rf `find $(distdir)/schemas -name Makefile`
23         rm -rf `find $(distdir)/doc -name .svn`
24         rm -rf `find $(distdir)/doc -name Makefile`
25
26
27 SUBDIRS = schemas xmltooling xmltoolingtest
28
29 all-local: xmltooling.spec pkginfo doxygen-doc
30
31 xmltooling.spec: xmltooling.spec.in Makefile
32         rm -f $@.tmp
33         sed < $< > $@.tmp \
34             -e 's:@-VERSION-@:${VERSION}:'
35         mv $@.tmp $@
36
37 pkginfo: pkginfo.in Makefile
38         rm -f $@.tmp
39         sed < $< > $@.tmp \
40             -e 's:@-VERSION-@:${VERSION}:'
41         mv $@.tmp $@
42
43 DISTCLEANFILES = xmltooling.spec pkginfo