[Dnsmasq-discuss] Announce: release candidate dnsmasq-2.60rc1
Vladislav Grishenko
themiron at mail.ru
Wed Feb 29 08:05:34 GMT 2012
Same hit here, but due TOP variable is already exported from up-level
Makefile
I have source tree with packages and one general Makefile:
src/dnsmasq/...
src/Makefile
export TOP := $(shell pwd)
dnsmasq:
$(MAKE) -C $@
So, had to change it to $(MAKE) -C $@ TOP="$(TOP)/$@".
p.s Debian, GNU Make 3.81
Best Regards, Vladislav Grishenko
> -----Original Message-----
> From: dnsmasq-discuss-bounces at lists.thekelleys.org.uk [mailto:dnsmasq-
> discuss-bounces at lists.thekelleys.org.uk] On Behalf Of Simon Kelley
> Sent: Wednesday, February 29, 2012 1:59 PM
> To: dnsmasq-discuss at lists.thekelleys.org.uk
> Subject: Re: [Dnsmasq-discuss] Announce: release candidate dnsmasq-
> 2.60rc1
>
> On 29/02/12 03:18, Preston Crow wrote:
> > I hit a Makefile issue (that wasn't there in dnsmasq-2.60test10):
> >
> > # pmake way to learn path of Makefile
> > TOP != echo `pwd`/
> > # GNU make way to learn path of Makefile TOP ?= $(shell pwd)
> >
> > This leads to:
> >
> > Makefile:38: *** missing separator. Stop.
> >
> > Apparently it doesn't like the first TOP line.
> >
> > I might be building it wrong. I'm using Gentoo Linux, and I copied and
> > tweaked the ebuild that I used for test10, which was copied and
> > tweaked from the ebuild for the previous release.
> >
>
> Sigh. Writing portable makefiles is a thankless task. I tested this on
Gnu-make
> and BSD make. What flavour/version on make are you using.
>
> Related question: BSD people. Would you care if I gave up the fight and
> required GNU-make to build dnsmasq?
>
> Cheers,
>
> Simon.
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
More information about the Dnsmasq-discuss
mailing list