Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/crunch/crunchgen Fix some lossage in previous commit...



details:   https://anonhg.NetBSD.org/src/rev/0b3fb696bd9a
branches:  trunk
changeset: 515404:0b3fb696bd9a
user:      tls <tls%NetBSD.org@localhost>
date:      Mon Sep 24 01:05:47 2001 +0000

description:
Fix some lossage in previous commit: don't remove everything when cleaning
in a source directory, just the object files.  This is a _very temporary_
fix; I will untangle the meaning of UPDATE, etc. in this context presently.

diffstat:

 usr.bin/crunch/crunchgen/crunchgen.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 394cd1645ab2 -r 0b3fb696bd9a usr.bin/crunch/crunchgen/crunchgen.c
--- a/usr.bin/crunch/crunchgen/crunchgen.c      Mon Sep 24 01:04:32 2001 +0000
+++ b/usr.bin/crunch/crunchgen/crunchgen.c      Mon Sep 24 01:05:47 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: crunchgen.c,v 1.21 2001/09/24 00:40:35 tls Exp $       */
+/*     $NetBSD: crunchgen.c,v 1.22 2001/09/24 01:05:47 tls Exp $       */
 /*
  * Copyright (c) 1994 University of Maryland
  * All Rights Reserved.
@@ -33,7 +33,7 @@
  */
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: crunchgen.c,v 1.21 2001/09/24 00:40:35 tls Exp $");
+__RCSID("$NetBSD: crunchgen.c,v 1.22 2001/09/24 01:05:47 tls Exp $");
 #endif
 
 #include <stdlib.h>
@@ -827,7 +827,7 @@
        fprintf(outmk, "%s_OBJS=", p->ident);
        output_strlst(outmk, p->objs);
        fprintf(outmk, "%s_make:\n", p->ident);
-       fprintf(outmk, "\t(cd $(%s_SRCDIR); %s clean ; %s DBG=${DBG} $(%s_OBJS))\n\n", 
+       fprintf(outmk, "\t(cd $(%s_SRCDIR); %s cleanobjs ; %s DBG=${DBG} $(%s_OBJS))\n\n", 
                p->ident, makebin, makebin, p->ident);
     }
     else



Home | Main Index | Thread Index | Old Index