From 6389b1b3b0767a93f3b9195c810be5b9148f6c8c Mon Sep 17 00:00:00 2001 From: obrien Date: Wed, 4 Oct 2000 07:20:24 +0000 Subject: Only install secondary components if the destination directory exists. This may be a WIP, but `make release' needs it sooner than later. --- sys/modules/ibcs2/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/modules/ibcs2') diff --git a/sys/modules/ibcs2/Makefile b/sys/modules/ibcs2/Makefile index 29f88a9..773eb0b 100644 --- a/sys/modules/ibcs2/Makefile +++ b/sys/modules/ibcs2/Makefile @@ -8,13 +8,17 @@ SRCS= ibcs2_errno.c ibcs2_ipc.c ibcs2_stat.c ibcs2_misc.c \ ibcs2_isc.c ibcs2_isc_sysent.c \ ibcs2_msg.c ibcs2_other.c ibcs2_sysi86.c ibcs2_sysvec.c \ vnode_if.h opt_spx_hack.h +.if exists(${DESTDIR}/usr/share/man/man8) MAN8= ibcs2.8 +.endif CFLAGS+= -DCOMPAT_IBCS2 EXPORT_SYMS= _ibcs2_mod _ibcs2_emul_path _ibcs2_svr3_sysvec +.if exists(${DESTDIR}/usr/bin) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/ibcs2.sh ${DESTDIR}/usr/sbin/ibcs2 +.endif .include -- cgit v1.1