lkml.org 
[lkml]   [2002]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Generated files destruction
Date
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.
-
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.670 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site