help-gnu-utils
[Top][All Lists]
Advanced

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

Re: Target Path Stripping Possible?


From: Tom Browder
Subject: Re: Target Path Stripping Possible?
Date: Sat, 6 Jun 2009 11:53:09 -0500

On Sat, Jun 6, 2009 at 09:36, Paul Jarc<prj@po.cwru.edu> wrote:
> Tom Browder <tom.browder@gmail.com> wrote:
...
>> Thanks, Paul, but that didn't work, probably because in the top
>> Makefile the RUNDIR is in relative form while your construction puts
>> it in absolute form.
>
> In that case:
> % :
>        cd $(MASTERDIR) && \
>        pwd=`$(MASTERDIR)/relative-pwd` &&
>        $(MAKE) RUNDIR="$${pwd?}" $@
...

Wow, what a make/sh script master!  It will be a while before I can
try it (I think with an added '\'), but I'll report back after the
"honey do" list  is done.

Thanks Paul, for your fortitude.

Regards,

-Tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]