From root@gits.dyndns.org  Thu Oct 26 20:36:12 2000
Return-Path: <root@gits.dyndns.org>
Received: from racine.cybercable.fr (racine.cybercable.fr [212.198.0.201])
	by hub.freebsd.org (Postfix) with SMTP id 510AD37B479
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 26 Oct 2000 20:36:11 -0700 (PDT)
Received: (qmail 4033654 invoked from network); 27 Oct 2000 03:36:09 -0000
Received: from s011.dhcp212-229.cybercable.fr (HELO gits.dyndns.org) ([212.198.229.11]) (envelope-sender <root@gits.dyndns.org>)
          by racine.cybercable.fr (qmail-ldap-1.03) with SMTP
          for <FreeBSD-gnats-submit@freebsd.org>; 27 Oct 2000 03:36:09 -0000
Received: (from root@localhost)
	by gits.dyndns.org (8.11.0/8.11.0) id e9R3a8T74911;
	Fri, 27 Oct 2000 05:36:08 +0200 (CEST)
	(envelope-from root)
Message-Id: <200010270336.e9R3a8T74911@gits.dyndns.org>
Date: Fri, 27 Oct 2000 05:36:08 +0200 (CEST)
From: Cyrille Lefevre <clefevre@citeweb.net>
Sender: root@gits.dyndns.org
Reply-To: clefevre@citeweb.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: share/doc/smm/07.lpd building moved in 3.0 !
X-Send-Pr-Version: 3.2

>Number:         22333
>Category:       docs
>Synopsis:       share/doc/smm/07.lpd building moved in 3.0 !
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 26 20:40:01 PDT 2000
>Closed-Date:    Tue May 8 01:37:08 PDT 2001
>Last-Modified:  Tue May  8 22:40:01 PDT 2001
>Originator:     Cyrille Lefevre
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
ACME
>Environment:

FreeBSD gits 4.1-STABLE FreeBSD 4.1-STABLE #3: Sat Sep 23 10:20:30 CEST 2000     root@gits:/disk2/4.0-stable/src/sys/compile/CUSTOM  i386

>Description:

	can someone undo changes made in 3.0 about share/doc/smm/07.lpd
	building which has been moved to usr.sbin/lpr ! so, to manually
	generates all docs, you have to go in share/doc *AND* usr.sbin/lpr
	which is not consistent w/ other doc building.

	the question is, why these changes have been made in 3.0 ?

>How-To-Repeat:

	n/a

>Fix:

	apply the two following patches (one through cvs and one through
	diff) to undo the changes made in 3.0.

Index: usr.sbin/lpr/Makefile
===================================================================
RCS file: /home/ncvs/src/usr.sbin/lpr/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- usr.sbin/lpr/Makefile	1999/08/28 01:16:45	1.5
+++ usr.sbin/lpr/Makefile	2000/10/27 02:47:27
@@ -1,7 +1,7 @@
 # $FreeBSD: src/usr.sbin/lpr/Makefile,v 1.5 1999/08/28 01:16:45 peter Exp $
 
 SUBDIR=	common_source chkprintcap lp lpc lpd lpq lpr lprm lptest pac \
-	filters filters.ru SMM.doc
+	filters filters.ru
 
 .include <bsd.subdir.mk>
 
Index: share/doc/smm/Makefile
===================================================================
RCS file: /home/ncvs/src/share/doc/smm/Makefile,v
retrieving revision 1.14.2.1
diff -u -r1.14.2.1 Makefile
--- share/doc/smm/Makefile	2000/08/27 17:31:41	1.14.2.1
+++ share/doc/smm/Makefile	2000/10/27 03:26:20
@@ -8,11 +8,8 @@
 # 13.amd (documentation is TeXinfo)
 # 16.security 17.password (encumbered)
 
-# The following modules are built with their programs:
-# 07.lpd
-
 SUBDIR=	title contents 01.setup 02.config 03.fsck 04.quotas 05.fastfs \
-	06.nfs 08.sendmailop 10.named 11.timedop \
+	06.nfs 07.lpd 08.sendmailop 10.named 11.timedop \
 	12.timed 18.net
 
 .include <bsd.subdir.mk>


--- /dev/null	Fri Oct 27 05:06:24 2000
+++ share/doc/smm/07.lpd/Makefile	Mon Apr 13 16:12:37 1998
@@ -0,0 +1,11 @@
+#	From: @(#)Makefile	8.1 (Berkeley) 6/8/93
+#	$Id: Makefile,v 1.1.6.3 1998/03/06 13:32:26 jkh Exp $
+
+VOLUME=	smm/07.lpd
+SRCS=	0.t 1.t 2.t 3.t 4.t 5.t 6.t 7.t
+MACROS=	-ms
+
+USE_TBL=	yes
+SRCDIR=	${.CURDIR}/../../../../usr.sbin/lpr/SMM.doc
+
+.include <bsd.doc.mk>

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Tue May 8 01:37:08 PDT 2001 
State-Changed-Why:  
The building of lpr(1) stuff, including SMM documents, 
is now controlled by the NO_LPR make(1) variable. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22333 

From: Cyrille Lefevre <clefevre@poboxes.com>
To: freebsd-gnats-submit@FreeBSD.org
Cc: <ru@FreeBSD.org>, freebsd-doc@FreeBSD.org
Subject: Re: docs/22333: share/doc/smm/07.lpd building moved in 3.0 !
Date: 09 May 2001 07:30:19 +0200

 <ru@FreeBSD.org> writes:
 
 > Synopsis: share/doc/smm/07.lpd building moved in 3.0 !
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: ru
 > State-Changed-When: Tue May 8 01:37:08 PDT 2001
 > State-Changed-Why: 
 > The building of lpr(1) stuff, including SMM documents,
 > is now controlled by the NO_LPR make(1) variable.
 
 well, in that case, it is more accurate to do something like this :
 
 Index: /usr/src/share/doc/smm/Makefile
 ===================================================================
 RCS file: /home/ncvs/src/share/doc/smm/Makefile,v
 retrieving revision 1.14.2.1
 diff -u -r1.14.2.1 Makefile
 --- /usr/src/share/doc/smm/Makefile	2000/08/27 17:31:41	1.14.2.1
 +++ /usr/src/share/doc/smm/Makefile	2001/05/09 05:19:49
 @@ -8,11 +8,12 @@
  # 13.amd (documentation is TeXinfo)
  # 16.security 17.password (encumbered)
 
 -# The following modules are built with their programs:
 -# 07.lpd
 -
  SUBDIR=	title contents 01.setup 02.config 03.fsck 04.quotas 05.fastfs \
  	06.nfs 08.sendmailop 10.named 11.timedop \
  	12.timed 18.net
 +
 +.if !defined(NO_LPR)
 +SUBDIR+=       07.lpd
 +.endif
 
  .include <bsd.subdir.mk>
 
 than building SMM.doc from usr.sbin/lpr, no ?
 
 > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22333
 
 could you reopen this PR ? thanks.
 
 Cyrille.
 --
 home: mailto:clefevre@poboxes.com   UNIX is user-friendly; it's just particular
 work: mailto:Cyrille.Lefevre@edf.fr   about who it chooses to be friends with. 
>Unformatted:
