From charnier@xp11.frmug.org  Sat Sep 14 13:46:49 1996
Received: from frmug.org (frmug-gw.frmug.org [193.56.58.252])
          by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id NAA06992
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 14 Sep 1996 13:46:35 -0700 (PDT)
Received: (from uucp@localhost) by frmug.org (8.6.8/8.6.9) with UUCP id WAA06631 for FreeBSD-gnats-submit@freebsd.org; Sat, 14 Sep 1996 22:46:22 +0200
Received: (from root@localhost) by xp11.frmug.org (8.7.5/8.7.3/xp11-uucp-1.1) id KAA02781; Sat, 14 Sep 1996 10:53:43 +0200 (MET DST)
Message-Id: <199609140853.KAA02781@xp11.frmug.org>
Date: Sat, 14 Sep 1996 10:53:43 +0200 (MET DST)
From: "Ph. Charnier" <charnier@xp11.frmug.org>
Reply-To: charnier@xp11.frmug.org
To: FreeBSD-gnats-submit@freebsd.org
Subject: NOMANCOMPRESS=true breaks make.
X-Send-Pr-Version: 3.2

>Number:         1612
>Category:       bin
>Synopsis:       NOMANCOMPRESS=true breaks make.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 14 13:50:02 PDT 1996
>Closed-Date:    Tue Sep 17 18:16:37 PDT 1996
>Last-Modified:  Tue Sep 17 18:17:07 PDT 1996
>Originator:     Ph. Charnier
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
>Environment:


>Description:

	If you have NOMANCOMPRESS=true in your /etc/make.conf, Some programs
(related to the contrib directory) fails to compile because of their man page.
The error is `Graph cycles through dig.1'.

>How-To-Repeat:

	Put NOMANCOMPRESS=true in your /etc/make.conf
	cd /usr/src/usr.bin/dig
	make
	Graph cycles through dig.1
	`all' not remade because of errors.
>Fix:
	
	The target is dig.1: dig.1. I use the following patch, but don't know
if this is the correct way:

--- bsd.man.mk.orig	Sat Sep 14 10:38:16 1996
+++ bsd.man.mk	Sat Sep 14 00:49:19 1996
@@ -75,20 +75,20 @@
 COPY=		-c
 ZEXT=
 
-.if defined(MANFILTER)
 .for sect in ${SECTIONS}
 .if defined(MAN${sect}) && !empty(MAN${sect})
 CLEANFILES+=	${MAN${sect}}
 .for page in ${MAN${sect}}
-.for target in ${page}
+.for target in ${.OBJDIR}/${page}
 all-man: ${target}
 ${target}: ${page}
+.if defined(MANFILTER)
 	${MANFILTER} < ${.ALLSRC} > ${.TARGET}
+.endif
 .endfor
 .endfor
 .endif
 .endfor
-.endif
 
 .else
 
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: peter 
State-Changed-When: Mon Sep 16 07:14:47 PDT 1996 
State-Changed-Why:  
Hopefully fixed in rev 1.16 of bsd.man.mk, please check and see 
if it works now.. 
State-Changed-From-To: feedback->closed 
State-Changed-By: peter 
State-Changed-When: Tue Sep 17 18:16:37 PDT 1996 
State-Changed-Why:  
Submitter reports it fixed, thanks! 
>Unformatted:
