Subject: toolchain/14616: doesn't define ${GROFF} without USETOOLS
To: None <>
From: Ben Harris <>
List: netbsd-bugs
Date: 11/17/2001 16:05:36
>Number:         14616
>Category:       toolchain
>Synopsis:       <> doesn't define ${GROFF} without USETOOLS
>Confidential:   yes
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 17 08:06:00 PST 2001
>Originator:     Ben Harris
>Release:        2001-11-17

If I try to build in a directory containing manual pages but no program
(e.g. src/share/man/man1), GROFF doesn't get set.  This causes builds to
fail.  This doesn't happen if USETOOLS is on, because then <>
defines GROFF.

Sat Nov 17 15:57:46 GMT 2001
# cd /usr/src/share/man/man1
# make
-Tascii -mtty-char -mandoc /usr/src/share/man/man1/cd.1  > cd.cat1
-Tascii: not found
*** Error code 127

make: stopped in /usr/src/share/man/man1

It looks like GROFF is defined in <>, but <> doesn't
include it.  Maybe it should.