Multi-line svn commit, see body.
[shibboleth/cpp-opensaml.git] / Makefile.am
index 274bf2c..a4395c8 100644 (file)
@@ -9,7 +9,7 @@ MOSTLYCLEANFILES = $(DX_CLEANFILES)
 EXTRA_DIST = $(DX_CONFIG) \
        doc \
        schemas \
-       cpp-opensaml.sln \
+       cpp-opensaml2.sln \
        libtool.m4 \
        doxygen.m4 \
        depcomp \
@@ -31,7 +31,15 @@ dist-hook:
 
 SUBDIRS = schemas saml samltest
 
-all-local: opensaml.spec pkginfo doxygen-doc
+all-local: opensaml.spec pkginfo
+
+if DX_COND_doc
+all-local: doxygen-doc
+
+install-data-hook:
+       rm -rf $(prefix)/doc/@PACKAGE@/api
+       cp -r doc/api $(prefix)/doc/@PACKAGE@
+endif
 
 opensaml.spec: opensaml.spec.in Makefile
        rm -f $@.tmp