From: Sam Ravnborg <sam@ravnborg.org>
To: Linus Torvalds <torvalds@transmeta.com>, linux-kernel@vger.kernel.org
Subject: [PATCH] scripts: Removed mrproper targets, they are now handled automagically 5/6
Date: Tue, 10 Sep 2002 23:09:45 +0200 [thread overview]
Message-ID: <20020910230945.E18386@mars.ravnborg.org> (raw)
In-Reply-To: <20020910225530.A17094@mars.ravnborg.org>; from sam@ravnborg.org on Tue, Sep 10, 2002 at 10:55:30PM +0200
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
next prev parent reply other threads:[~2002-09-10 21:05 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-10 20:55 [PATCH] kbuild: Make filelist for clean and mrproper distributed 0/6 Sam Ravnborg
2002-09-10 21:01 ` [PATCH] kbuild: clean and mrproper file list created dynamically 1/6 Sam Ravnborg
2002-09-10 21:03 ` [PATCH] atm: List files to be deleted during clean and mrproper 2/6 Sam Ravnborg
2002-09-10 21:05 ` [PATCH] sound/oss: Files to be deleted during mrproper 3/6 Sam Ravnborg
2002-09-10 21:06 ` [PATCH] drivers/pci,hamradio,scsi,aic7xxx,video,zorro clean and mrproper files 4/6 Sam Ravnborg
2002-09-11 1:07 ` Justin T. Gibbs
2002-09-11 5:12 ` Sam Ravnborg
2002-09-13 15:49 ` Andrew Bray
2002-09-13 17:37 ` ADMIN: DON'T try to be clever with email headers! Matti Aarnio
2002-09-13 23:16 ` Andrew Bray
2002-09-14 11:30 ` Matti Aarnio
2002-09-14 12:05 ` Matthias Andree
2002-09-13 18:00 ` [PATCH] drivers/pci,hamradio,scsi,aic7xxx,video,zorro clean and mrproper files 4/6 Sam Ravnborg
2002-09-10 21:09 ` Sam Ravnborg [this message]
2002-09-10 21:11 ` [PATCH] Distibuted clean and mrproper handling 6/6 Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020910230945.E18386@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).