projects
/
shibboleth
/
cpp-opensaml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove api directory from dist.
[shibboleth/cpp-opensaml.git]
/
doc
/
Makefile.am
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index
f660d75
..
7e988ee
100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-1,13
+1,18
@@
AUTOMAKE_OPTIONS = foreign
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 = \
docfiles = \
+ README.txt \
LICENSE.txt \
NOTICE.txt \
LOG4CPP.LICENSE
pkgdoc_DATA = $(docfiles)
LICENSE.txt \
NOTICE.txt \
LOG4CPP.LICENSE
pkgdoc_DATA = $(docfiles)
-EXTRA_DIST = $(docfiles) api
-
\ No newline at end of file
+EXTRA_DIST = $(docfiles)