Cleanup
[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         doxygen.m4 \
15         depcomp \
16         config_win32.h
17
18 dist-hook:
19         rm -rf `find $(distdir)/xmltoolingtest/data -name .svn`
20         rm -rf `find $(distdir)/schemas -name .svn`
21         rm -rf `find $(distdir)/schemas -name Makefile`
22         rm -rf `find $(distdir)/doc -name .svn`
23         rm -rf `find $(distdir)/doc -name Makefile`
24
25
26 SUBDIRS = schemas xmltooling xmltoolingtest
27
28 all-local: xmltooling.spec pkginfo doxygen-doc
29
30 xmltooling.spec: xmltooling.spec.in Makefile
31         rm -f $@.tmp
32         sed < $< > $@.tmp \
33             -e 's:@-VERSION-@:${VERSION}:'
34         mv $@.tmp $@
35
36 pkginfo: pkginfo.in Makefile
37         rm -f $@.tmp
38         sed < $< > $@.tmp \
39             -e 's:@-VERSION-@:${VERSION}:'
40         mv $@.tmp $@
41
42 DISTCLEANFILES = xmltooling.spec pkginfo