summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-16 12:11:54 -0500
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>2002-10-16 12:11:54 -0500
commit6d65aab5bb3bbc05f280b4a49268982dfa76c2e1 (patch)
tree030f73e2e433aab0b0f0ecbee3f0ed6e03cf46e6
parentcb56ef33764ffe503aa1e1a0848ae097e200d954 (diff)
kbuild: More "make clean" cosmetics
Make the DocBook "make clean" output nicer and use the fast variant for arch/i386/boot as well.
-rw-r--r--Documentation/DocBook/Makefile5
-rw-r--r--arch/i386/Makefile2
2 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile
index 2e3a7333354e..dd49e638acd7 100644
--- a/Documentation/DocBook/Makefile
+++ b/Documentation/DocBook/Makefile
@@ -160,7 +160,8 @@ clean-files := $(DOCBOOKS) \
$(patsubst %.fig,%.png, $(IMG-parportbook)) \
$(C-procfs-example)
-clean-rule := rm -rf $(patsubst %.html,%,$(HTML))
+ifneq ($(wildcard $(BOOKS)),)
+clean-rule := rm -rf $(wildcard $(BOOKS))
+endif
include $(TOPDIR)/Rules.make
-
diff --git a/arch/i386/Makefile b/arch/i386/Makefile
index dbd363bdb52f..f23a066d98d8 100644
--- a/arch/i386/Makefile
+++ b/arch/i386/Makefile
@@ -88,6 +88,6 @@ install: vmlinux
+@$(call makeboot,BOOTIMAGE=$(BOOTIMAGE) install)
archclean:
- +@$(call makeboot,subdirclean)
+ $(MAKE) -rR -f scripts/Makefile.clean obj=arch/i386/boot
archmrproper: