X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=3dbc715b3767b4b539ed5a7fbb375e52e4948c81;hb=ad87ce7599f02ed4315615596e47cdc06ffc8a50;hp=5cb497922132093bf2b345767a7481ef00463e3b;hpb=d3b5792fd6b5faf1f83462cf02f071f4eb2310a1;p=shibboleth%2Fcpp-opensaml.git diff --git a/Makefile.am b/Makefile.am index 5cb4979..3dbc715 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,37 +6,23 @@ 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 -all-local: opensaml.spec pkginfo +SUBDIRS = doc schemas saml samltest samlsign if DX_COND_doc -all-local: doxygen-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 sed < $< > $@.tmp \ @@ -49,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