From 69c0804d32caa26eea4e4f27c8eb5d027d37bd28 Mon Sep 17 00:00:00 2001 From: Ben Smithurst Date: Sat, 13 Jan 2001 05:50:19 +0000 Subject: [PATCH] Only install sysinstall.8 if the release/sysinstall directory exists. This fixes the world for people without src-release. PR: 24122 Submitted by: Steven G. Kargl --- share/man/man8/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/share/man/man8/Makefile b/share/man/man8/Makefile index fdd735744e6..86c8d456e1a 100644 --- a/share/man/man8/Makefile +++ b/share/man/man8/Makefile @@ -3,8 +3,11 @@ .PATH: ${.CURDIR}/../../../release/sysinstall -MAN8= adding_user.8 crash.8 diskless.8 intro.8 picobsd.8 rc.8 sticky.8 \ - sysinstall.8 +MAN8= adding_user.8 crash.8 diskless.8 intro.8 picobsd.8 rc.8 sticky.8 + +.if exists(${.CURDIR}/../../../release/sysinstall) +MAN8+= sysinstall.8 +.endif MLINKS= rc.8 rc.serial.8 rc.8 rc.pccard.8 rc.8 rc.network.8 \ rc.8 rc.firewall.8 rc.8 rc.atm.8 rc.8 rc.local.8 rc.8 rc.shutdown.8