bug-make
[Top][All Lists]
Advanced

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

incorrect errors being printed in make


From: seph
Subject: incorrect errors being printed in make
Date: Wed, 29 Nov 2000 20:52:37 -0500

gmake seems to print the wrong error message. 

address@hidden:/home/ops/dns$ make --version
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
Built for i586-pc-linux-gnu


the relevent lines of my make file:
ZONES=zone-masters/foo.com zone-masters/bar.com

zone-masters/%: zone-pieces/%
                ./bin/check-zones.pl < $<
                cp $< $@

zone-files/%.in-addr.arpa: $(ZONES)
                ./bin/gen-zones.pl -r $*  $^ > $@


zone-files/10.in-addr.arpa depends on $(ZONES), each of which is a
file in zone-masters, which depends on zone-pieces. make does not know
how to create files in zone-pieces. 

if something is missing from zone-pieces, such that it can't be built
in zone-masters, and prevents zone-files/10.in-addr.arpa from being
built, I expect make to tell me it doesn't know how to make the bit in
zone-pieces, instead it tells me:
address@hidden:/home/ops/dns$ make zone-files/10.in-addr.arpa
make: *** No rule to make target `zone-files/10.in-addr.arpa'.  Stop.

this is wrong.

sorry for the confusing bug report. I can probably send you a tar ball
with an example, if you'd rather.

seph




reply via email to

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