aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/jdom/Makefile2
-rw-r--r--textproc/xalan-j/Makefile1
2 files changed, 3 insertions, 0 deletions
diff --git a/java/jdom/Makefile b/java/jdom/Makefile
index 96fbe0c26356..ec36ec32c7f9 100644
--- a/java/jdom/Makefile
+++ b/java/jdom/Makefile
@@ -41,10 +41,12 @@ do-install:
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing samples in ${EXAMPLESDIR}..."
+ @${MKDIR} ${EXAMPLESDIR}
@cd ${WRKSRC}/build/samples/ && ${FIND} . \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${EXAMPLESDIR} > /dev/null 2>&1
@${ECHO_MSG} " [ DONE ]"
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
+ @${MKDIR} ${DOCSDIR}/apidocs
@cd ${WRKSRC}/build/ && ${FIND} apidocs \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
@${INSTALL_DATA} ${OTHERDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
diff --git a/textproc/xalan-j/Makefile b/textproc/xalan-j/Makefile
index 5bf910ea51f5..8eb39d908ae9 100644
--- a/textproc/xalan-j/Makefile
+++ b/textproc/xalan-j/Makefile
@@ -41,6 +41,7 @@ do-install:
@${ECHO_MSG} " [ DONE ]"
.if !defined(NOPORTDOCS)
@${ECHO_MSG} -n ">> Installing documentation in ${DOCSDIR}..."
+ @${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/build/docs && ${FIND} ${PORTDOCS} \
| ${CPIO} -pdmu -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR} > /dev/null 2>&1
@${ECHO_MSG} " [ DONE ]"