Bug 17120

Summary: src/share/doc/IPv6/IMPLEMENTATION doesn't get installed
Product: Documentation Reporter: Bruce A. Mah <bmah>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Alexey M. Zelkin 2000-03-01 22:11:07 UTC
hi,

On Thu, Mar 02, 2000 at 12:30:03AM -0800, Yoshinobu Inoue wrote:

>  > >Description:
>  > 
>  > src/share/doc/IPv6/IMPLEMENTATION doesn't get installed on an
>  > installworld.  I think it's supposed to go to 
>  > /usr/share/doc/IPv6/IMPLEMENTATION.
>  > 
>  > This should be fairly trivial to someone reasonably familiar
>  > with how docs get installed, but I'm not that someone.
>  
>  I committed it, but I also am not familiar with how to get it
>  installed.
>  Could someone please give me hints?

Try to apply following patches. They're untested, but should work.

>  (As far as I checked the doc dir, all other files seems to be man
>  style, and on the other hand, IMPLEMENTATION is just a plain
>  text.  Did I placed it to wrong dir? )
No. You just forgoten to include this directory to building scheme --
you forgot to add Makefile for this dir.

Put this Makefile to src/share/doc/IPv6

----------------------------------------------------------------------------
# $FreeBSD$

FILES=	IMPLEMENTATION

DOCDIR = ${SHAREDIR}/doc/IPv6

NOMAN = noman
NOOBJ = noobj

install:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${SHAREMODE} ${FILES} \
		${DESTDIR}${DOCDIR}

.include <bsd.prog.mk>
----------------------------------------------------------------------------

Apply this patch to src/share/doc/Makefile

Index: Makefile
===================================================================
RCS file: /usr/local/CVSROOT/src/share/doc/Makefile,v
retrieving revision 1.14
diff -u -u -r1.14 Makefile
--- Makefile	1999/08/28 00:18:00	1.14
+++ Makefile	2000/03/01 21:48:58
@@ -1,7 +1,7 @@
 #	From: @(#)Makefile	8.1 (Berkeley) 6/5/93
 # $FreeBSD: src/share/doc/Makefile,v 1.14 1999/08/28 00:18:00 peter Exp $
 
-SUBDIR=	psd smm usd papers
+SUBDIR=	psd smm usd papers IPv6
 
 # Default output formats are ascii for troff documents, and 
 # ascii and html for sgml documents.
 
-- 
/* Alexey Zelkin                       && phantom@cris.net    */
/* Tavric National University          && phantom@crimea.edu  */
/* http://www.ccssu.crimea.ua/~phantom && phantom@FreeBSD.org */
Comment 1 Bruce A. Mah 2000-03-02 05:50:01 UTC
src/share/doc/IPv6/IMPLEMENTATION doesn't get installed on an
installworld.  I think it's supposed to go to 
/usr/share/doc/IPv6/IMPLEMENTATION.

Fix: 

This should be fairly trivial to someone reasonably familiar
with how docs get installed, but I'm not that someone.
How-To-Repeat: 
# make buildworld
Comment 2 Yoshinobu Inoue 2000-03-02 08:29:57 UTC
Hi,

> >Description:
> 
> src/share/doc/IPv6/IMPLEMENTATION doesn't get installed on an
> installworld.  I think it's supposed to go to 
> /usr/share/doc/IPv6/IMPLEMENTATION.
> 
> This should be fairly trivial to someone reasonably familiar
> with how docs get installed, but I'm not that someone.

I committed it, but I also am not familiar with how to get it
installed.
Could someone please give me hints?

(As far as I checked the doc dir, all other files seems to be man
style, and on the other hand, IMPLEMENTATION is just a plain
text.  Did I placed it to wrong dir? )

Thanks,
Yoshinobu Inoue
Comment 3 Yoshinobu Inoue 2000-03-02 09:59:23 UTC
> >  (As far as I checked the doc dir, all other files seems to be man
> >  style, and on the other hand, IMPLEMENTATION is just a plain
> >  text.  Did I placed it to wrong dir? )
> No. You just forgoten to include this directory to building scheme --
> you forgot to add Makefile for this dir.

I noticed the neccesity of adding IPv6 to SUBDIR, but I
couldn't create successful Makefile under IPv6 dir.
Your Makefile worked successfuly. Thanks!

I'll commit them.

Yoshinobu Inoue
Comment 4 bmah 2000-03-02 15:01:27 UTC
If memory serves me right, Yoshinobu Inoue wrote:

> (As far as I checked the doc dir, all other files seems to be man
> style, and on the other hand, IMPLEMENTATION is just a plain
> text.  Did I placed it to wrong dir? )

I'm glad phantom replied (thanks!), I learned a few things along the way
also.  You can close the PR now, it seems to install correctly.

Thanks!

Bruce.

Comment 5 shin freebsd_committer freebsd_triage 2000-03-02 15:23:17 UTC
State Changed
From-To: open->closed

Patches from phantom is applied and the problem is confirmed to be fixed. 
Thanks!