freebsd-dev/sys/modules/joy/Makefile
David E. O'Brien 229edd6df7 Only install secondary components if the destination directory exists.
This may be a WIP, but `make release' needs it sooner than later.
2000-10-04 07:20:24 +00:00

17 lines
334 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../isa
KMOD = joy
SRCS = bus_if.h device_if.h isa_if.h joy.c
.if exists(${DESTDIR}/usr/share/man/man8)
MAN8 = joy.8
.endif
.if exists(${DESTDIR}/usr/bin)
afterinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/joy.sh ${DESTDIR}/usr/bin/joy
.endif
.include <bsd.kmod.mk>