Subject: Fix so that "make cleandir" in src/gnu/usr.bin/gdb works
To: None <current-users@NetBSD.ORG>
From: Alistair Crooks <azcb0@amdahl.com>
List: current-users
Date: 11/04/1997 10:07:09
I'm almost ashamed at the following ugly hack which allows a "make
clean" or a "make cleandir" in src/gnu/usr.bin/gdb work, which is why
this isn't send-pr'd.  Could someone please steal my work and submit it
as theirs? (From yesterday's sup, Nov 3rd 1997)

Thanks,
Alistair

PS. Feel free to incorporate this in any logo, without my permission.

*** /usr/src/gnu/usr.bin/gdb/Makefile     1997/11/04 17:28:48     1.1
--- /usr/src/gnu/usr.bin/gdb/Makefile     1997/11/04 17:19:53
***************
*** 1,6 ****
--- 1,8 ----
  # $NetBSD: Makefile,v 1.10 1997/10/18 18:37:37 gwr Exp $
  
+ .if !make(clean) && !make(cleandir)
  PROG= gdb
+ .endif
  
  TOP=  $(.CURDIR)/../..
  dist= $(TOP)/dist