projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3ed65a
)
Test for api directory before installing it.
author
Scott Cantor
<cantor.2@osu.edu>
Sun, 6 Mar 2011 02:48:54 +0000
(
02:48
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Sun, 6 Mar 2011 02:48:54 +0000
(
02:48
+0000)
doc/Makefile.am
patch
|
blob
|
history
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index
2c53926
..
4320aca
100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-3,8
+3,10
@@
AUTOMAKE_OPTIONS = foreign
pkgdocdir = $(datadir)/doc/@PACKAGE@-@PACKAGE_VERSION@
install-data-hook:
- cp -r api $(DESTDIR)$(pkgdocdir)
- rm -rf `find $(DESTDIR)$(pkgdocdir)/api -name .svn`
+ if test -d api ; then \
+ cp -r api $(DESTDIR)$(pkgdocdir); \
+ rm -rf `find $(DESTDIR)$(pkgdocdir)/api -name .svn`; \
+ fi;
docfiles = \
README.txt \