Subject: misc/1921: /usr/usr(/gnu)/Makefile fail without game sources
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik Bertelsen <erik@arhpc214.uni-c.dk>
List: netbsd-bugs
Date: 01/10/1996 13:46:18
>Number: 1921
>Category: misc
>Synopsis: Make fails in /usr/src and /usr/src/gnu with no game sources
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: misc-bug-people (Misc Bug People)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Jan 10 07:05:04 1996
>Last-Modified:
>Originator: Erik Bertelsen
>Organization:
>Release: NetBSD-current 9. Jan 1996
>Environment:
System: NetBSD arhpc214.uni-c.dk 1.1A NetBSD 1.1A (EBE) #6: Tue Dec 19 12:32:29 MET 1995 erik@arhpc214.uni-c.dk:/usr/sup/netbsd/src/sys/arch/i386/compile/EBE i386
>Description:
If you maintain your source files with the SUP collections "src" and some
of the "ksrc-xxx", you won't have the games source directories in /usr/src
and in /usr/src/gnu.
This causes make to fail in these directories, because it tries to cd to
games.
>How-To-Repeat:
Retrieve a source distribution by sup'ing the "src" collection.
Cd /usr/src;make
>Fix:
Change these Makefiles to reference games only if it exists, e.g.
.if exists(games)
SUBDIR+= games
.endif
>Audit-Trail:
>Unformatted: