summaryrefslogtreecommitdiff
path: root/bin/sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh')
-rw-r--r--bin/sh/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index 1e8684051a47..b50e3217e97f 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -37,7 +37,6 @@ WFORMAT=0
CLEANFILES+= mknodes mksyntax
CLEANFILES+= ${GENSRCS} ${GENHDRS}
-LINKS= /root/.profile /.profile
build-tools: mknodes mksyntax
@@ -67,4 +66,7 @@ SUBDIR.${MK_TESTS}+= tests
beforeinstall:
rm -f ${DESTDIR}/.profile
+afterinstallconfig:
+ ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}/root/.profile ${DESTDIR}/.profile
+
.include <bsd.prog.mk>