X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=6a184b13a566ba52393f36c698fcf99b74df3a43;hb=c089f03a9b08dc947a815be624654ca401c6b369;hp=274bf2cc22098614e825cbf5be482607e63830e3;hpb=fe054c4ebbe94cc07790e7d53e7acaa1e8cfab63;p=shibboleth%2Fopensaml2.git diff --git a/Makefile.am b/Makefile.am index 274bf2c..6a184b1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,32 +6,22 @@ include doxygen.am MOSTLYCLEANFILES = $(DX_CLEANFILES) -EXTRA_DIST = $(DX_CONFIG) \ - doc \ - schemas \ - cpp-opensaml.sln \ - libtool.m4 \ - doxygen.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 +if DX_COND_doc all-local: opensaml.spec pkginfo doxygen-doc +APIDOCS = doc/api +else +all-local: opensaml.spec pkginfo +endif + +install-data-hook: + rm -rf $(DESTDIR)$(prefix)/doc/@PACKAGE@/api + cp -r doc/api $(DESTDIR)$(prefix)/doc/@PACKAGE@ opensaml.spec: opensaml.spec.in Makefile rm -f $@.tmp @@ -45,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