X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fcpp-opensaml.git;a=blobdiff_plain;f=Makefile.am;h=49750bbe69b0271763f4dcde9373aed3de9e5687;hp=6a184b13a566ba52393f36c698fcf99b74df3a43;hb=75ca5258ff9bb2986d5f7c07d2ae47078d240722;hpb=5262f59d5b476683a193fb19fed29144e0fcddc1 diff --git a/Makefile.am b/Makefile.am index 6a184b1..49750bb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,35 +8,34 @@ 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 -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@ + 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 \ @@ -47,6 +46,7 @@ EXTRA_DIST = $(DX_CONFIG) \ opensaml.spec \ pkginfo.in \ pkginfo \ - checkinstall + depend \ + postinstall DISTCLEANFILES = opensaml.spec pkginfo