X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=Makefile.am;h=8654717474035e2ba0d3152b1133b08c6968e796;hb=bc1ee5735307057d112c233f1ff3e9314fa633dc;hp=3de9c4e1d879a1c059be0133e9690afa118ae243;hpb=2de75bda08cd512dd297bc1165e1e8299a407f1d;p=shibboleth%2Fopensaml2.git diff --git a/Makefile.am b/Makefile.am index 3de9c4e..8654717 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,41 +6,23 @@ 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@ + rm -rf $(DESTDIR)$(datadir)/doc/@PACKAGE@/api + cp -r doc/api $(DESTDIR)$(datadir)/doc/@PACKAGE@ opensaml.spec: opensaml.spec.in Makefile rm -f $@.tmp @@ -54,4 +36,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