Subject: bin/5383: "src/usr.sbin/config/gram.h" isn't removed by "make cleandir"
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@lyssa.owl.de>
List: netbsd-bugs
Date: 05/01/1998 14:13:53
>Number:         5383
>Category:       bin
>Synopsis:       "src/usr.sbin/config/gram.h" isn't removed by "make cleandir"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May  1 05:20:00 1998
>Last-Modified:
>Originator:     Matthias Scheler
>Organization:
Matthias Scheler                                http://home.owl.de/~tron/
>Release:        980430
>Environment:
System: NetBSD lyssa 1.3E NetBSD 1.3E (LYSSA) #0: Thu Apr 30 10:57:33 MEST 1998 tron@lyssa:/src/src/sys/arch/i386/compile/LYSSA i386


>Description:
A "make cleandir" in "src/usr.sbin/config" doesn't remove "gram.h" derived
from "gram.y".

>How-To-Repeat:
cd /usr/src/usr.sbin/config
make depend all
make cleandir
ls -l gram.h

>Fix:
*** src/usr.sbin/config/Makefile.orig   Sat Apr 18 12:03:27 1998
--- src/usr.sbin/config/Makefile        Fri May  1 14:11:59 1998
*************** SRCS=   files.c gram.y hash.c main.c mkhea
*** 7,12 ****
--- 7,13 ----
        mkswap.c pack.c scan.l sem.c util.c
  YFLAGS=
  CPPFLAGS+=-I${.CURDIR} -I.
+ CLEANFILES+=gram.h
  
  # This program actually requires "flex" (not just any old lex).
  # Also note that it does not use -ll
>Audit-Trail:
>Unformatted: