summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/rmt/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/rmt/Makefile b/usr.sbin/rmt/Makefile
index dcd0a1d..166d458 100644
--- a/usr.sbin/rmt/Makefile
+++ b/usr.sbin/rmt/Makefile
@@ -3,7 +3,9 @@
PROG= rmt
MAN8= rmt.8
-beforeinstall:
- -ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt
+# called from /usr/src/etc/Makefile
+etc-rmt:
+ rm -f ${DESTDIR}/etc/rmt
+ ln -s ${BINDIR}/rmt ${DESTDIR}/etc/rmt
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud