Commit 917b8a01 authored by Sam Ravnborg's avatar Sam Ravnborg

[PATCH] mrproper: Moved knowledge of files in scripts to scripts/Makefile

No reason to keep this knowledge in a central place when it can be avoided
parent ead1d4e1
...@@ -631,12 +631,9 @@ MRPROPER_FILES += \ ...@@ -631,12 +631,9 @@ MRPROPER_FILES += \
sound/oss/pndspini.c \ sound/oss/pndspini.c \
drivers/atm/fore200e_*_fw.c drivers/atm/.fore200e_*.fw \ drivers/atm/fore200e_*_fw.c drivers/atm/.fore200e_*.fw \
.version .config* config.in config.old \ .version .config* config.in config.old \
scripts/tkparse scripts/kconfig.tk scripts/kconfig.tmp \
scripts/lxdialog/*.o scripts/lxdialog/lxdialog \
.menuconfig.log \ .menuconfig.log \
include/asm \ include/asm \
.hdepend scripts/split-include scripts/docproc \ .hdepend $(TOPDIR)/include/linux/modversions.h \
scripts/fixdep $(TOPDIR)/include/linux/modversions.h \
tags TAGS kernel.spec \ tags TAGS kernel.spec \
.tmpversion .tmpversion
...@@ -666,6 +663,7 @@ mrproper: clean archmrproper ...@@ -666,6 +663,7 @@ mrproper: clean archmrproper
-type f -print | xargs rm -f -type f -print | xargs rm -f
@rm -f $(MRPROPER_FILES) @rm -f $(MRPROPER_FILES)
@rm -rf $(MRPROPER_DIRS) @rm -rf $(MRPROPER_DIRS)
@$(MAKE) -C scripts mrproper
@$(MAKE) -f Documentation/DocBook/Makefile mrproper @$(MAKE) -f Documentation/DocBook/Makefile mrproper
distclean: mrproper distclean: mrproper
......
...@@ -55,3 +55,9 @@ lxdialog: ...@@ -55,3 +55,9 @@ lxdialog:
$(obj)/split-include $(obj)/docproc $(addprefix $(obj)/,$(tkparse-objs)) \ $(obj)/split-include $(obj)/docproc $(addprefix $(obj)/,$(tkparse-objs)) \
$(obj)/conmakehash lxdialog: $(obj)/fixdep $(obj)/conmakehash lxdialog: $(obj)/fixdep
mrproper:
@echo 'Making mrproper (scripts)'
@rm -f $(tkparse-objs) $(obj)/kconfig.tk
@rm -f core $(host-progs)
@$(MAKE) -C lxdialog mrproper
...@@ -39,5 +39,5 @@ ncurses: ...@@ -39,5 +39,5 @@ ncurses:
exit 1 ;\ exit 1 ;\
fi fi
clean: mrproper:
rm -f core *.o *~ lxdialog @rm -f core $(host-progs) $(lxdialog-objs) ncurses
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment