Re: [PATCH] Add support for DESTDIR to the simulator core

Daniel Jacobowitz
2005-05-10T20:53:44Z

On Tue, May 10, 2005 at 10:49:20PM +0200, Martin Koegler wrote:
> I noticed, that sim is missing the support for DESTDIR in its Makefiles,
> which is supported by all automake based programs.
>
> The patch added support for this feature. Is it possible to apply it to the
> CVS?
>
> mfg Martin KÃ¶gler
> PS: Please CC me on replies.

The heck? You're the third person in the last week to submit this
patch. I hadn't gotten to the oldest one yet. The problem isn't new;
I wonder why everyone is encountering it all of a sudden?

> Index: Makefile.in
> ===================================================================
> RCS file: /cvs/src/src/sim/Makefile.in,v
> retrieving revision 1.6
> diff -u -r1.6 Makefile.in
> --- Makefile.in 29 Jan 2005 00:53:13 -0000 1.6
> +++ Makefile.in 10 May 2005 20:37:38 -0000
> @@ -83,6 +83,7 @@
> RUNTESTFLAGS=
>
> FLAGS_TO_PASS = \
> + "DESTDIR=$(DESTDIR)" \
> "prefix=$(prefix)" \
> "exec_prefix=$(exec_prefix)" \
> "bindir=$(bindir)" \

The other two patches did not modify FLAGS_TO_PASS; is this really
necessary? I don't believe it is.