diff options
author | peter <peter@FreeBSD.org> | 2001-02-27 08:13:32 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-02-27 08:13:32 +0000 |
commit | 3dba1d1543776a0f641cde330672fdb902764a4b (patch) | |
tree | 430675856c59589a38155db72ce172700626089c /sys/conf/Makefile.i386 | |
parent | 293fcd46a5c83a99594c22ccb7cec8767efac368 (diff) | |
download | FreeBSD-src-3dba1d1543776a0f641cde330672fdb902764a4b.zip FreeBSD-src-3dba1d1543776a0f641cde330672fdb902764a4b.tar.gz |
Add a 'clobber' target.. Like 'clean' but it takes out even the config
generated stuff, leaving only 'version' in the build dir.
Diffstat (limited to 'sys/conf/Makefile.i386')
-rw-r--r-- | sys/conf/Makefile.i386 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386 index d42199c..b704742 100644 --- a/sys/conf/Makefile.i386 +++ b/sys/conf/Makefile.i386 @@ -119,6 +119,7 @@ all: ${KERNEL_KO} depend: kernel-depend clean: kernel-clean cleandepend: kernel-cleandepend +clobber: kernel-clobber tags: kernel-tags install: kernel-install install.debug: kernel-install.debug @@ -156,6 +157,9 @@ kernel-clean: ${MFILES:T:S/.m$/.c/} ${MFILES:T:S/.m$/.h/} \ ${CLEAN} +kernel-clobber: + find . -type f ! -name version -delete + #lint: /tmp param.c # @lint -hbxn -DGENERIC -Dvolatile= ${COPTS} \ # $S/$M/$M/Locore.c ${CFILES} param.c | \ @@ -268,6 +272,7 @@ depend: modules-depend clean: modules-clean cleandepend: modules-cleandepend cleandir: modules-cleandir +clobber: modules-clobber tags: modules-tags install: modules-install install.debug: modules-install.debug @@ -293,6 +298,9 @@ modules-clean: modules-cleandepend: cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandepend +modules-clobber: modules-clean + rm -rf ${MKMODULESENV} + modules-cleandir: cd $S/modules ; env ${MKMODULESENV} ${MAKE} cleandir |