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