diff options
Diffstat (limited to 'sys/modules/svr4/Makefile')
-rw-r--r-- | sys/modules/svr4/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile index a9a57bd..ee7e639 100644 --- a/sys/modules/svr4/Makefile +++ b/sys/modules/svr4/Makefile @@ -12,7 +12,9 @@ SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h opt_vmpage.h \ svr4_stream.c svr4_socket.c svr4_sockio.c svr4_machdep.c \ svr4_resource.c svr4_ipc.c OBJS= svr4_locore.o +.if exists(${DESTDIR}/usr/share/man/man8) MAN8= svr4.8 +.endif EXPORT_SYMS=_svr4_mod CLEANFILES= svr4_assym.h svr4_genassym.o @@ -39,8 +41,10 @@ opt_svr4.h: echo "#define DEBUG_SVR4 1" >> opt_svr4.h .endif +.if exists(${DESTDIR}/usr/bin) afterinstall: ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ ${.CURDIR}/svr4.sh ${DESTDIR}/usr/sbin/svr4 +.endif .include <bsd.kmod.mk> |