make clean/make distclean

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I type "make clean" in the v4l-dvb directory, it deletes the .config files.
 I would prefer that "make clean" only removes the intermediate files and keeps
the .config so I do not have to go through the options every time i want to
clean a build.  The kernel deletes the .config when "make distclean" is used, so
perhaps we can follow the same mechanism?  Attached is a patch.

--- v4l-dvb/v4l/Makefile.orig	2006-04-09 15:25:42.000000000 -0700
+++ v4l-dvb/v4l/Makefile	2006-04-09 15:26:54.000000000 -0700
@@ -189,11 +189,11 @@
 	@find . -name '*.c' -type l -exec rm '{}' \;
 	@find . -name '*.h' -type l -exec rm '{}' \;
 	-rm -f *~ *.o *.ko .*.o.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \
-		ivtv-svnversion.h \
-		Kconfig Kconfig.kern .config .config.cmd
+		ivtv-svnversion.h 
 
 distclean:: clean
-	-rm -f .version .*.o.flags .*.o.d Makefile.media
+	-rm -f .version .*.o.flags .*.o.d Makefile.media \
+		Kconfig Kconfig.kern .config .config.cmd
 	-rm -rf .tmp_versions
 	@find .. -name '*.orig' -exec rm '{}' \;
 	@find .. -name '*.rej' -exec rm '{}' \;
_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux