summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-04 11:54:02 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-04 11:54:02 +0000
commitace7dcbaae322a8c244e30cfb68bb805798556e6 (patch)
tree1bfd03103f829aec50f05e4611cbee3e2370fd50 /sys
parentc6cd6d6c6958c01db27e9bbba1ae80f1a88c84aa (diff)
DESTDIR fixing
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/isa/pcvt/Util/keycap/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/keycap/Makefile b/sys/arch/i386/isa/pcvt/Util/keycap/Makefile
index c3d198b3c58..2bc5c286609 100644
--- a/sys/arch/i386/isa/pcvt/Util/keycap/Makefile
+++ b/sys/arch/i386/isa/pcvt/Util/keycap/Makefile
@@ -1,5 +1,5 @@
LIB = keycap
-CAPDIR = $(DESTDIR)/usr/share/misc
+CAPDIR = /usr/share/misc
CAPPATH = $(CAPDIR)/keycap.pcvt
KEYCAPSRC= keycap.src
CFLAGS += -DKEYCAP_PATH=\"$(CAPPATH)\"
@@ -9,8 +9,10 @@ MAN5 = keycap.${MAN5EXT}
#CLEANFILES+= keycap.0 keycap.0
beforeinstall:
- @if [ ! -d ${DESTDIR}${LIBDIR} ]; then mkdir ${DESTDIR}${LIBDIR};fi
+ -@if [ ! -d ${DESTDIR}${LIBDIR} ]; then \
+ mkdir ${DESTDIR}${LIBDIR}; \
+ fi
install -c -m ${LIBMODE} -o ${LIBOWN} -g ${LIBGRP} \
- ${.CURDIR}/${KEYCAPSRC} ${CAPPATH}
+ ${.CURDIR}/${KEYCAPSRC} ${DESTDIR}${CAPPATH}
.include <bsd.lib.mk>