Bug 22333 - share/doc/smm/07.lpd building moved in 3.0 !
Summary: share/doc/smm/07.lpd building moved in 3.0 !
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-27 04:40 UTC by clefevre
Modified: 2001-05-09 06:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.19 KB, patch)
2000-10-27 04:40 UTC, clefevre
no flags Details | Diff
file.diff (383 bytes, patch)
2000-10-27 04:40 UTC, clefevre
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description clefevre 2000-10-27 04:40:01 UTC
	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 ?

Fix: apply the two following patches (one through cvs and one through
	diff) to undo the changes made in 3.0.
How-To-Repeat: 
	n/a
Comment 1 ru freebsd_committer freebsd_triage 2001-05-08 09:37:08 UTC
State Changed
From-To: open->closed

The building of lpr(1) stuff, including SMM documents, 
is now controlled by the NO_LPR make(1) variable.
Comment 2 Cyrille Lefevre 2001-05-09 06:30:19 UTC
<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.