From 35f9a56694feea7244f3875bcb9666ff9376b6af Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Sun, 27 May 2007 21:56:58 +0000 Subject: Simplify symlink creation. ok grunk --- sbin/mount_vnd/Makefile | 4 ++-- sbin/sysctl/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/mount_vnd/Makefile b/sbin/mount_vnd/Makefile index 071a2560dac..edfd1e00cf1 100644 --- a/sbin/mount_vnd/Makefile +++ b/sbin/mount_vnd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2007/05/26 21:39:45 grunk Exp $ +# $OpenBSD: Makefile,v 1.4 2007/05/27 21:56:57 bluhm Exp $ PROG= mount_vnd SRCS= mount_vnd.c pkcs5_pbkdf2.c @@ -10,7 +10,7 @@ MLINKS= mount_vnd.8 vnconfig.8 # XXX compatibility afterinstall: - (cd ${DESTDIR}/usr/sbin && ln -sf ../../sbin/vnconfig .) + ln -sf ../../sbin/vnconfig ${DESTDIR}/usr/sbin MAN= mount_vnd.8 diff --git a/sbin/sysctl/Makefile b/sbin/sysctl/Makefile index 3a1e97fe821..6963623b25a 100644 --- a/sbin/sysctl/Makefile +++ b/sbin/sysctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2001/06/27 06:16:46 art Exp $ +# $OpenBSD: Makefile,v 1.9 2007/05/27 21:56:57 bluhm Exp $ PROG= sysctl MAN= sysctl.8 @@ -6,6 +6,6 @@ MAN= sysctl.8 CPPFLAGS+= -DINET6 afterinstall: - (cd ${DESTDIR}/usr/sbin; ln -sf ../../sbin/sysctl .) + ln -sf ../../sbin/sysctl ${DESTDIR}/usr/sbin .include -- cgit v1.2.3