Clean up doc/schema makefiles.
[shibboleth/cpp-opensaml.git] / Makefile.am
index 3de9c4e..94f7c83 100644 (file)
@@ -6,36 +6,17 @@ include doxygen.am
 
 MOSTLYCLEANFILES = $(DX_CLEANFILES)
 
-EXTRA_DIST = $(DX_CONFIG) \
-       doc \
-       schemas \
-       cpp-opensaml2.sln \
-       libtool.m4 \
-       doxygen.m4 \
-       acx_pthread.m4 \
-       depcomp \
-       config_win32.h \
-       opensaml.spec.in \
-       opensaml.spec \
-       pkginfo.in \
-       pkginfo \
-       checkinstall
-
-
 dist-hook:
        rm -rf `find $(distdir)/samltest/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 saml samltest
+SUBDIRS = doc schemas saml samltest
 
 all-local: opensaml.spec pkginfo
 
 if DX_COND_doc
 all-local: doxygen-doc
+APIDOCS = doc/api
 endif
 
 install-data-hook:
@@ -54,4 +35,18 @@ pkginfo: pkginfo.in Makefile
            -e 's:@-VERSION-@:${VERSION}:'
        mv $@.tmp $@
 
+EXTRA_DIST = $(DX_CONFIG) \
+       $(APIDOCS) \
+       cpp-opensaml2.sln \
+       libtool.m4 \
+       doxygen.m4 \
+       acx_pthread.m4 \
+       depcomp \
+       config_win32.h \
+       opensaml.spec.in \
+       opensaml.spec \
+       pkginfo.in \
+       pkginfo \
+       checkinstall
+
 DISTCLEANFILES = opensaml.spec pkginfo