Re: Temporary menuconfig file not removed by make mrproper

From: Sam Ravnborg (sam@ravnborg.org)
Date: Fri Sep 06 2002 - 11:07:40 EST


On Fri, Sep 06, 2002 at 11:19:42AM -0400, Stuart MacDonald wrote:
> linux/scripts/lxdialog/lxtemp.c was left behind after hitting <ctrl-c>
> during a make menuconfig. clean, distclean and mrproper all failed to
> remove it.
Attached patch fixes this.

> Not sure how this could be handled for the general case; is there a
> standard "this is a temporary file" tag that could be used so that
> clean/mrproper would catch arbitrary temporary files? ie lxtemp~~.c or
> similar.
In the top-level Makefile there is an ugly long list of generated files,
which is removed upon make clean & make mrproper.
I would like to get rid of that one, and build it up when the files are
generated. Later...

        Sam

===== Makefile 1.3 vs edited =====
--- 1.3/scripts/lxdialog/Makefile Thu Aug 15 21:20:48 2002
+++ edited/Makefile Fri Sep 6 18:04:11 2002
@@ -40,4 +40,4 @@
         fi
 
 mrproper:
- @rm -f core $(host-progs) $(lxdialog-objs) ncurses
+ @rm -f core $(host-progs) $(lxdialog-objs) lxtemp.c a.out
-
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/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:29 EST