Re: problem building 1.5.10
On Friday, 12 August 2005 at 12:39, Dan Nelson wrote:
> > make doesn't seem to know "$<":
> >
> > mutt.1: $(srcdir)/mutt.man
> > $(EDIT) $< > $@
> >
> > > It just stops here. This is on NetBSD 2.0.
> >
> > Is this standard NetBSD make? It should recognise $< as a
> > builtin/local variable according the man page.
>
> $< usually only works in transformation rules. Extending it to
> regular rules is a gmake-ism.
>
> .1.man:
> $(EDIT) $< > $@
>
> should work in any make, or just replace $< with $(srcdir)/mutt.man in
> the original rule.
Sorry about that. I try to avoid gnuisms but they're like
cockroaches. Anyway, I committed the second, more primitive fix to
CVS.