Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/common use CLEANFILES to remove cruft
details: https://anonhg.NetBSD.org/src/rev/70e77d080e0d
branches: trunk
changeset: 521799:70e77d080e0d
user: lukem <lukem%NetBSD.org@localhost>
date: Tue Feb 05 23:16:16 2002 +0000
description:
use CLEANFILES to remove cruft
diffstat:
distrib/common/Makefile.crunch | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (25 lines):
diff -r 1ea2440b85f5 -r 70e77d080e0d distrib/common/Makefile.crunch
--- a/distrib/common/Makefile.crunch Tue Feb 05 23:10:02 2002 +0000
+++ b/distrib/common/Makefile.crunch Tue Feb 05 23:16:16 2002 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.crunch,v 1.1 2002/02/03 15:24:43 lukem Exp $
+# $NetBSD: Makefile.crunch,v 1.2 2002/02/05 23:16:16 lukem Exp $
#
# Makefile snippet to build a crunchgen(1)ed binary from the provided lists
#
@@ -24,6 +24,8 @@
awk -f ${_PARSELIST} -v mode=crunch ${LISTS} > ${.TARGET}.tmp
&& mv ${.TARGET}.tmp ${.TARGET}
+CLEANFILES+= ${CRUNCHBIN} ${CRUNCHBIN}.conf ${CRUNCHBIN}.conf.tmp \
+ ${CRUNCHBIN}.cache *.o *.cro *.c
clean cleandir distclean: cleancrunchgen
@@ -33,5 +35,4 @@
if [ -f ${CRUNCHBIN}.mk ]; then \
${MAKE} -f ${CRUNCHBIN}.mk clean; \
fi
- rm -f ${CRUNCHBIN} ${CRUNCHBIN}.mk ${CRUNCHBIN}.cache \
- ${CRUNCHBIN}.conf* *.o *.cro *.c
+ rm -f ${CRUNCHBIN}.mk
Home |
Main Index |
Thread Index |
Old Index