Add code for non-covariant build.
[shibboleth/cpp-xmltooling.git] / Makefile.am
index de7dbe5..858ad49 100644 (file)
@@ -2,25 +2,42 @@ AUTOMAKE_OPTIONS = foreign
 
 ACLOCAL_AMFLAGS = -I .
 
-EXTRA_DIST =
+include doxygen.am
+
+MOSTLYCLEANFILES = $(DX_CLEANFILES)
+
+EXTRA_DIST = $(DX_CONFIG) \
+       doc \
        schemas \
        cpp-xmltooling.sln \
-       libtool.m4 \
        acx_pthread.m4 \
+       acinclude.m4 \
+       libtool.m4 \
+       doxygen.m4 \
        depcomp \
-       doxygen.cfg \
-       config_win32.h
+       config_win32.h \
+       xmltooling.spec.in \
+       xmltooling.spec \
+       pkginfo.in \
+       pkginfo \
+       checkinstall
 
 dist-hook:
        rm -rf `find $(distdir)/xmltoolingtest/data -name .svn`
        rm -rf `find $(distdir)/schemas -name .svn`
        rm -rf `find $(distdir)/schemas -name Makefile`
+       rm -rf `find $(distdir)/doc -name .svn`
+       rm -rf `find $(distdir)/doc -name Makefile`
 
 
 SUBDIRS = schemas xmltooling xmltoolingtest
 
 all-local: xmltooling.spec pkginfo
 
+if DX_COND_doc
+all-local: doxygen-doc
+endif
+
 xmltooling.spec: xmltooling.spec.in Makefile
        rm -f $@.tmp
        sed < $< > $@.tmp \