summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2007-05-27 21:56:58 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2007-05-27 21:56:58 +0000
commit35f9a56694feea7244f3875bcb9666ff9376b6af (patch)
treeeaa5406b6858c9c8a89d3a9895274794efff5d6a /sbin
parentc55e7c1ca775498a14f7483ee1d64a00f6fe539b (diff)
Simplify symlink creation. ok grunk
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount_vnd/Makefile4
-rw-r--r--sbin/sysctl/Makefile4
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 <bsd.prog.mk>