Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2000 03:13:22 +0000
From:      Nik Clayton <nik@freebsd.org>
To:        "Jordan K. Hubbard" <jkh@zippy.osd.bsdi.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: docs/19818: /usr/share/man/man8/sysinstall.8 missing
Message-ID:  <20000722031322.I2302@kilt.nothing-going-on.org>
In-Reply-To: <200007110720.AAA82411@freefall.freebsd.org>; from jkh@zippy.osd.bsdi.com on Tue, Jul 11, 2000 at 12:20:06AM -0700
References:  <200007110720.AAA82411@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Tue, Jul 11, 2000 at 12:20:06AM -0700, Jordan K. Hubbard wrote:
>  Well, we don't do it because sysinstall isn't in the default build
>  path, is never touched by "make world" or "make distribute", and hence
>  never makes it into the man pages distribution with all the other
>  manual pages, even with Nik's patch to the Makefile.

How about this approach?

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/share/man/man8/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	2000/05/04 17:36:28	1.16
+++ Makefile	2000/07/22 02:58:05
@@ -19,4 +19,11 @@
 maninstall:: _SUBDIR
 .endif
 
+.if exists(${.CURDIR}/../../../release/sysinstall/sysinstall.8)
+sysinstall.8:
+	cp ${.CURDIR}/../../../release/sysinstall/sysinstall.8 ${.CURDIR}
+
+MAN8+=	sysinstall.8
+.endif
+
 .include <bsd.prog.mk>
===================================================================

Completely untested. . .

>  I've thought of various types of evil hacks to work around this over
>  the years, but they always seemed more evil than simply omitting the
>  man page. :-)

I had a look at the stub idea.  If the above doesn't float your boat,
how about adding the attached file as src/share/man/man8/sysinstall.8
and updating the Makefile as necessary.

N
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sysinstall.8"

.\" Copyright (c) 2000
.\"	Nik Clayton <nik@FreeBSD.org>.  All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\"    notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\"    notice, this list of conditions and the following disclaimer in the
.\"    documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\"    must display the following acknowledgement:
.\"	This product includes software developed by the University of
.\"	California, Berkeley and its contributors.
.\" 4. Neither the name of the University nor the names of its contributors
.\"    may be used to endorse or promote products derived from this software
.\"    without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY NIK CLAYTON AND CONTRIBUTORS ``AS IS'' AND
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
.\" ARE DISCLAIMED.  IN NO EVENT SHALL NIK CLAYTON OR CONTRIBUTORS BE LIABLE
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" $FreeBSD: src/share/man/man8/rc.8,v 1.11 2000/07/19 19:08:08 ben Exp $
.\"
.Dd July 21, 2000
.Dt SYSINSTALL 8
.Os FreeBSD
.Sh NAME
.Nm sysinstall
.Nd system installation and configuration tool
.Sh DESCRIPTION
.Nm
is a utility for installing and configuring
.Fx
systems.  A more detailed manual page is included with the
.Nm
source code.  If you have downloaded the source code then the following
commands will update
.Nm
and install the manual page.
.Bd -literal -offset indent
# cd /usr/src/release/sysinstall
# make all install
.Ed
.Pp
This manual page will then be replaced by the complete
.Nm
manual.
.Sh AUTHORS
.An Jordan K. Hubbard Aq jkh@FreeBSD.org

--zhXaljGHf11kAtnf--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000722031322.I2302>