lkml.org 
[lkml]   [2002]   [Sep]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] scripts: Removed mrproper targets, they are now handled automagically 5/6
Removed mrproper targets from scripts/Makefile and scripts/lxdialog/Makefile
The new clean: and mrproper: handling will delete the files in question.

For lxdialog added a few files that could be left if build were stopped
unexpected.

Sam

diff -Nru a/scripts/Makefile b/scripts/Makefile
--- a/scripts/Makefile Tue Sep 10 22:38:01 2002
+++ b/scripts/Makefile Tue Sep 10 22:38:01 2002
@@ -9,6 +9,8 @@
# conmakehash: Create arrays for initializing the kernel console tables
# tkparse: Used by xconfig

+clean := kconfig.tk
+
all: fixdep split-include docproc conmakehash __chmod

# The following temporary rule will make sure that people's
@@ -57,9 +59,4 @@
$(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 -Nru a/scripts/lxdialog/Makefile b/scripts/lxdialog/Makefile
--- a/scripts/lxdialog/Makefile Tue Sep 10 22:38:01 2002
+++ b/scripts/lxdialog/Makefile Tue Sep 10 22:38:01 2002
@@ -15,8 +15,12 @@
endif
endif

-host-progs := lxdialog
+# Files removed during make clean
+clean := a.out lxtemp.c

+# Host executable
+host-progs := lxdialog
+# Additional object files for lxdialog
lxdialog-objs := checklist.o menubox.o textbox.o yesno.o inputbox.o \
util.o lxdialog.o msgbox.o

@@ -39,5 +43,3 @@
exit 1 ;\
fi

-mrproper:
- @rm -f core $(host-progs) $(lxdialog-objs) ncurses
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.089 / U:4.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site