public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Temporary menuconfig file not removed by make mrproper
@ 2002-09-06 15:19 Stuart MacDonald
  2002-09-06 16:07 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart MacDonald @ 2002-09-06 15:19 UTC (permalink / raw)
  To: linux-kernel

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.

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.

..Stu



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Temporary menuconfig file not removed by make mrproper
  2002-09-06 15:19 Temporary menuconfig file not removed by make mrproper Stuart MacDonald
@ 2002-09-06 16:07 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2002-09-06 16:07 UTC (permalink / raw)
  To: Stuart MacDonald, Kai Germaschewski; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-06 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 15:19 Temporary menuconfig file not removed by make mrproper Stuart MacDonald
2002-09-06 16:07 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox