public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Re: [PATCH] arch/ia64/tools/Makefile
@ 2002-07-24 14:20 David N. Lombard
  2002-07-26 16:25 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: David N. Lombard @ 2002-07-24 14:20 UTC (permalink / raw)
  To: linux-ia64

[-- Attachment #1: Type: text/plain, Size: 807 bytes --]

sigh...  The earlier arch/ia64/tools/Makefile patch replicated the 
action for both targets -- a redundant action.

Attached is the file I intended to send.

David N. Lombard wrote:
> The arch/ia64/tools/Makefile has an empty action for the mrproper 
> target.  The result is that arch/ia64/tools/print_offsets.s, 
> arch/ia64/tools/print_offsets, and arch/ia64/tools/offsets.h remain 
> after a "make mrproper".  The files are deleted with "make distclean".
> 
> So, this could be a (subtle) intended difference between the mrproper 
> and distclean targets, but that seems unlikely.
> 
> The attached patch moves the file deletion from the clean target 
> (invoked via distclean) to the mrproper target; the distclean target 
> still results in the files being deleted.

-- 
David N. Lombard
MSC.Software

[-- Attachment #2: ia64-tools.diff --]
[-- Type: text/plain, Size: 320 bytes --]

--- arch/ia64/tools/Makefile.orig	Tue Jul 23 17:01:41 2002
+++ arch/ia64/tools/Makefile	Tue Jul 23 17:01:55 2002
@@ -5,9 +5,9 @@
 all: 
 
 mrproper:
+	rm -f print_offsets.s print_offsets offsets.h
 
 clean:
-	rm -f print_offsets.s print_offsets offsets.h
 
 fastdep: offsets.h
 	@if ! cmp -s offsets.h ${TARGET}; then	\

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

* Re: [Linux-ia64] Re: [PATCH] arch/ia64/tools/Makefile
  2002-07-24 14:20 [Linux-ia64] Re: [PATCH] arch/ia64/tools/Makefile David N. Lombard
@ 2002-07-26 16:25 ` David Mosberger
  0 siblings, 0 replies; 2+ messages in thread
From: David Mosberger @ 2002-07-26 16:25 UTC (permalink / raw)
  To: linux-ia64

Shouldn't "mrproper" simply have a dependency on "clean"?

	--david

>>>>> On Wed, 24 Jul 2002 07:20:08 -0700, "David N. Lombard" <david.lombard@mscsoftware.com> said:

  David.L> sigh...  The earlier arch/ia64/tools/Makefile patch
  David.L> replicated the action for both targets -- a redundant
  David.L> action.

  David.L> Attached is the file I intended to send.

  David.L> David N. Lombard wrote:
  >> The arch/ia64/tools/Makefile has an empty action for the mrproper
  >> target.  The result is that arch/ia64/tools/print_offsets.s,
  >> arch/ia64/tools/print_offsets, and arch/ia64/tools/offsets.h
  >> remain after a "make mrproper".  The files are deleted with "make
  >> distclean".
  >> 
  >> So, this could be a (subtle) intended difference between the
  >> mrproper and distclean targets, but that seems unlikely.
  >> 
  >> The attached patch moves the file deletion from the clean target
  >> (invoked via distclean) to the mrproper target; the distclean
  >> target still results in the files being deleted.

  David.L> -- David N. Lombard MSC.Software ---
  David.L> arch/ia64/tools/Makefile.orig Tue Jul 23 17:01:41 2002 +++
  David.L> arch/ia64/tools/Makefile Tue Jul 23 17:01:55 2002 @@ -5,9
  David.L> +5,9 @@ all:
 
  David.L>  mrproper: + rm -f print_offsets.s print_offsets offsets.h
 
  David.L>  clean: - rm -f print_offsets.s print_offsets offsets.h
 
  David.L>  fastdep: offsets.h @if ! cmp -s offsets.h ${TARGET}; then
  David.L> \


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

end of thread, other threads:[~2002-07-26 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-24 14:20 [Linux-ia64] Re: [PATCH] arch/ia64/tools/Makefile David N. Lombard
2002-07-26 16:25 ` David Mosberger

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