X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=Makefile.am;h=b432a544f6fa9e65d7f92b0591d25181e8c484a0;hp=d9748f504fb9d5a79b63b9bdfbb4aa3fd3d7f75e;hb=eaae48b655432afed546fe624ea58c07b7797447;hpb=7d71ec6c3f5f3b2cf800147d7a9317214a9c63bd diff --git a/Makefile.am b/Makefile.am index d9748f5..b432a54 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,52 +6,49 @@ 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` - + rm -rf `find $(distdir)/doc/api -name .svn` -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 $(prefix)/doc/@PACKAGE@/api - cp -r doc/api $(prefix)/doc/@PACKAGE@ -endif + rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api + cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@ opensaml.spec: opensaml.spec.in Makefile rm -f $@.tmp - sed < $< > $@.tmp \ + sed < $@.in > $@.tmp \ -e 's:@-VERSION-@:${VERSION}:' mv $@.tmp $@ pkginfo: pkginfo.in Makefile rm -f $@.tmp - sed < $< > $@.tmp \ + sed < $@.in > $@.tmp \ -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 \ + depend \ + postinstall + DISTCLEANFILES = opensaml.spec pkginfo