Re: Target Path Stripping Possible?
Tom Browder <[email protected]> Sat, 6 Jun 2009 11:53:09 -0500
| Newsgroups | gmane.comp.gnu.utils |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Jun 6, 2009 at 09:36, Paul Jarc<[email protected]> wrote: > Tom Browder <[email protected]> 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