From: Rusty Russell <rusty@rustcorp.com.au>
To: torvalds@transmeta.com, Kai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Generated files destruction
Date: Thu, 12 Sep 2002 17:13:09 +1000 [thread overview]
Message-ID: <20020912072006.EBADF2C0C7@lists.samba.org> (raw)
Linus, please apply.
I would like to start migrating all build-generated files to
names matching "generated*" or ".generated*", esp. those which look
like source files. This is mainly for readability and for simplicity
when diffing built kernel trees. I'll be encouraging various
maintainers who generate (.c, .h and .s) files which are not meant to
be shipped with the kernel source to migrate, in my copious free
time...
Cheers!
Rusty.
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.34/Makefile working-2.5.34-generated-remove/Makefile
--- linux-2.5.34/Makefile 2002-09-10 09:11:14.000000000 +1000
+++ working-2.5.34-generated-remove/Makefile 2002-09-12 17:09:06.000000000 +1000
@@ -660,6 +660,7 @@ clean: archclean
@echo 'Cleaning up'
@find . -name SCCS -prune -o -name BitKeeper -prune -o \
\( -name \*.[oas] -o -name core -o -name .\*.cmd -o \
+ -name generated\* -o -name .generated\* -o \
-name .\*.tmp -o -name .\*.d \) -type f -print \
| grep -v lxdialog/ | xargs rm -f
@rm -f $(CLEAN_FILES)
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
next reply other threads:[~2002-09-12 7:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-12 7:13 Rusty Russell [this message]
2002-09-12 20:53 ` [PATCH] Generated files destruction Kai Germaschewski
2002-09-13 0:42 ` Rusty Russell
2002-09-30 16:23 ` Linus Torvalds
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=20020912072006.EBADF2C0C7@lists.samba.org \
--to=rusty@rustcorp.com.au \
--cc=kai@tp1.ruhr-uni-bochum.de \
--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