Initial check-in.
[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 EXTRA_DIST = $(DX_CONFIG) \
10         doc \
11         schemas \
12         cpp-opensaml.sln \
13         libtool.m4 \
14         doxygen.m4 \
15         depcomp \
16         config_win32.h \
17         opensaml.spec.in \
18         opensaml.spec \
19         pkginfo.in \
20         pkginfo \
21         checkinstall
22
23
24 dist-hook:
25         rm -rf `find $(distdir)/samltest/data -name .svn`
26         rm -rf `find $(distdir)/schemas -name .svn`
27         rm -rf `find $(distdir)/schemas -name Makefile`
28         rm -rf `find $(distdir)/doc -name .svn`
29         rm -rf `find $(distdir)/doc -name Makefile`
30
31
32 SUBDIRS = schemas saml samltest
33
34 all-local: opensaml.spec pkginfo doxygen-doc
35
36 opensaml.spec: opensaml.spec.in Makefile
37         rm -f $@.tmp
38         sed < $< > $@.tmp \
39             -e 's:@-VERSION-@:${VERSION}:'
40         mv $@.tmp $@
41
42 pkginfo: pkginfo.in Makefile
43         rm -f $@.tmp
44         sed < $< > $@.tmp \
45             -e 's:@-VERSION-@:${VERSION}:'
46         mv $@.tmp $@
47
48 DISTCLEANFILES = opensaml.spec pkginfo