aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/rpm5/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/archivers/rpm5/Makefile b/archivers/rpm5/Makefile
index 4f3a517be31c..c04978ea8a14 100644
--- a/archivers/rpm5/Makefile
+++ b/archivers/rpm5/Makefile
@@ -108,9 +108,8 @@ post-build:
post-install:
.if ${PORT_OPTIONS:MDOCS}
- # Install documentation
${MKDIR} ${STAGEDIR}${DOCSDIR}/apidocs/html
- cd ${WRKSRC}/apidocs/html && ${COPYTREE_SHARE} . ${DOCSDIR}/apidocs/html/
+ cd ${WRKSRC}/apidocs/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/apidocs/html/
.endif
.include <bsd.port.mk>