Date: Sat, 14 Sep 1996 10:53:43 +0200 (MET DST) From: "Ph. Charnier" <charnier@xp11.frmug.org> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/1612: NOMANCOMPRESS=true breaks make. Message-ID: <199609140853.KAA02781@xp11.frmug.org> Resent-Message-ID: <199609142050.NAA07137@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1612
>Category: bin
>Synopsis: NOMANCOMPRESS=true breaks make.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 14 13:50:02 PDT 1996
>Last-Modified:
>Originator: Ph. Charnier
>Organization:
>Release: FreeBSD 2.2-CURRENT i386
>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
>Audit-Trail:
>Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609140853.KAA02781>
