summaryrefslogtreecommitdiffstats
path: root/databases/mysql-connector-java
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-connector-java')
-rw-r--r--databases/mysql-connector-java/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mysql-connector-java/Makefile b/databases/mysql-connector-java/Makefile
index b08afee..7735523 100644
--- a/databases/mysql-connector-java/Makefile
+++ b/databases/mysql-connector-java/Makefile
@@ -89,7 +89,14 @@ do-install-apidocs:
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
@${MKDIR} ${APIDOCSDIR}
- @${CP} -r ${JAVADOCDIR}/* ${APIDOCSDIR}
+ @cd ${JAVADOCDIR} && for src in $$( ${FIND} . ) ; do \
+ dst=${APIDOCSDIR}$${src#.} ; \
+ if ${TEST} -d $$src ; then \
+ ${MKDIR} $$dst ; \
+ else \
+ ${INSTALL_DATA} $$src $$dst ; \
+ fi \
+ done
@for extradoc in ${EXTRADOCS} ; do \
${INSTALL_DATA} ${INSTALL_WRKSRC}/$$extradoc ${DOCSDIR} ; \
done
OpenPOWER on IntegriCloud