projects
/
shibboleth
/
cpp-xmltooling.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
80c27f2
)
Test for api directory before installing it.
author
Scott Cantor
<cantor.2@osu.edu>
Sun, 6 Mar 2011 02:46:20 +0000
(
02:46
+0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Sun, 6 Mar 2011 02:46:20 +0000
(
02:46
+0000)
doc/Makefile.am
patch
|
blob
|
history
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index
7ad576f
..
60ed706
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 \