From 917b8a01a996780ef31d8c1467636f7b4923c99b Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Fri, 16 Aug 2002 01:20:52 +0200 Subject: [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 --- scripts/Makefile | 6 ++++++ scripts/lxdialog/Makefile | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/Makefile b/scripts/Makefile index a18193a4e838..7134cf683b24 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -55,3 +55,9 @@ lxdialog: $(obj)/split-include $(obj)/docproc $(addprefix $(obj)/,$(tkparse-objs)) \ $(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 + diff --git a/scripts/lxdialog/Makefile b/scripts/lxdialog/Makefile index 1ab9518b1656..153c8b99ffdd 100644 --- a/scripts/lxdialog/Makefile +++ b/scripts/lxdialog/Makefile @@ -39,5 +39,5 @@ ncurses: exit 1 ;\ fi -clean: - rm -f core *.o *~ lxdialog +mrproper: + @rm -f core $(host-progs) $(lxdialog-objs) ncurses -- cgit v1.2.3