summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@mars.ravnborg.org>2002-08-16 01:20:52 +0200
committerSam Ravnborg <sam@mars.ravnborg.org>2002-08-16 01:20:52 +0200
commit917b8a01a996780ef31d8c1467636f7b4923c99b (patch)
treed97f915e893ff2cdf389d48a99c20c1f33a7e96f /scripts
parentead1d4e1cda81ca5bf53788fb0bd892d720fc7ee (diff)
[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
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile6
-rw-r--r--scripts/lxdialog/Makefile4
2 files changed, 8 insertions, 2 deletions
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