aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-10 19:31:40 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-10 19:31:40 +0800
commita93caa2212e37c72d1432690b95d274b778d6738 (patch)
treeed3895d20f5e2f64e86c852eb680406b7a1a511f /Mk/Uses
parent704fd43cce6ede9df4897c0c63af80456e5bb1ad (diff)
downloadfreebsd-ports-gnome-a93caa2212e37c72d1432690b95d274b778d6738.tar.gz
freebsd-ports-gnome-a93caa2212e37c72d1432690b95d274b778d6738.tar.zst
freebsd-ports-gnome-a93caa2212e37c72d1432690b95d274b778d6738.zip
Fix installation of ERL_DOCS directories.
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/erlang.mk b/Mk/Uses/erlang.mk
index 52494008a8dd..22c772438f63 100644
--- a/Mk/Uses/erlang.mk
+++ b/Mk/Uses/erlang.mk
@@ -129,7 +129,7 @@ do-install-erlang:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${ERL_DOCS}
if [ -d "${WRKSRC}/${file}" ]; then \
- cd ${WRKSRC} && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${DOCSDIR}; \
+ cd ${WRKSRC} && ${COPYTREE_SHARE} ${file} ${STAGEDIR}${DOCSDIR}; \
else \
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}; \
fi