X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=doc%2FMakefile.am;h=7e988ee4a915a057d0779db5d6fa08b921ec3d36;hb=HEAD;hp=db6bd81361556745de2d10df7ad7e3375606fb3d;hpb=8148f5a4820a6ea7ce915442b1dbd9454a55ca73;p=shibboleth%2Fcpp-opensaml.git diff --git a/doc/Makefile.am b/doc/Makefile.am index db6bd81..7e988ee 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,14 +1,18 @@ AUTOMAKE_OPTIONS = foreign -pkgdocdir = $(datadir)/doc/@PACKAGE@ +pkgdocdir = $(datadir)/doc/@PACKAGE@-@PACKAGE_VERSION@ + +install-data-hook: + if test -d api ; then \ + cp -r api $(DESTDIR)$(pkgdocdir); \ + fi; docfiles = \ - README.txt \ + README.txt \ LICENSE.txt \ NOTICE.txt \ LOG4CPP.LICENSE pkgdoc_DATA = $(docfiles) -EXTRA_DIST = $(docfiles) api - \ No newline at end of file +EXTRA_DIST = $(docfiles)