Trap failures at root for better reporting.
[shibboleth/cpp-opensaml.git] / Makefile.am
index 6a184b1..8654717 100644 (file)
@@ -8,9 +8,10 @@ MOSTLYCLEANFILES = $(DX_CLEANFILES)
 
 dist-hook:
        rm -rf `find $(distdir)/samltest/data -name .svn`
+       rm -rf `find $(distdir)/doc/api -name .svn`
 
 
-SUBDIRS = doc schemas saml samltest
+SUBDIRS = doc schemas saml samltest samlsign
 
 if DX_COND_doc
 all-local: opensaml.spec pkginfo doxygen-doc
@@ -20,8 +21,8 @@ all-local: opensaml.spec pkginfo
 endif
 
 install-data-hook:
-       rm -rf $(DESTDIR)$(prefix)/doc/@PACKAGE@/api
-       cp -r doc/api $(DESTDIR)$(prefix)/doc/@PACKAGE@
+       rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api
+       cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@
 
 opensaml.spec: opensaml.spec.in Makefile
        rm -f $@.tmp