Subject: bin/1733: usr.sbin/gspa/gspa/Makefile fix (build problem)
To: None <>
From: Ignatios Souvatzis <is@Beverly.Rhein.DE>
List: netbsd-bugs
Date: 11/06/1995 10:12:07
>Number:         1733
>Category:       bin
>Synopsis:       build used to break on this directories depend.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov  6 05:20:01 1995
>Originator:     Ignatios Souvatzis
>Release:        951031
System: NetBSD beverly 1.1_ALPHA NetBSD 1.1_ALPHA (BEVERLY) #249: Wed Nov 1 22:37:36 MET 1995 is@beverly:/usr/src/sys/arch/amiga/compile/BEVERLY amiga

	make depend in usr.sbin/gspa/gspa would break, if the .c/.h files
	from the yacc run were not present.
	make cleandir; make
Add a beforedepend: rule to the Makefile like this:

Index: Makefile
RCS file: /monster/cvs/src/usr.sbin/gspa/gspa/Makefile,v
retrieving revision
diff -c -r1.1.1.1 Makefile
*** Makefile	1995/10/17 11:56:03
--- Makefile	1995/11/06 09:01:54
*** 7,12 ****
  	gsp_inst.c gsp_pseu.c
  OBJS+=	gsp_gram.o
  NOMAN=	noman
  .include <>
--- 7,14 ----
  	gsp_inst.c gsp_pseu.c
  OBJS+=	gsp_gram.o
  NOMAN=	noman
! CLEANFILES += gsp_gram.c
! beforedepend: gsp_gram.c
  .include <>
Ignatios Souvatzis