<<< Date Index >>>     <<< Thread Index >>>

Re: problem building 1.5.10



In the last episode (Aug 12), Lars Hecking said:
> Ken Weingold writes:
> > I've tried a few times, and when I run make, all I get is:
> > 
> > ./gen_defs ./OPS ./OPS.PGP ./OPS.SMIME ./OPS.CRYPT > keymap_defs.h
> > ./patchlist.sh < ./PATCHES > patchlist.c
> > make  all-recursive
> > Making all in m4
> > Making all in po
> > Making all in intl
> > Making all in doc
> > sed -e 's,@sysconfdir\@,/usr/local/etc,g'  -e 
> > 's,@bindir\@,/usr/local/bin,g'  -e 's,@docdir\@,/usr/local/doc/mutt,g'  > 
> > mutt.1
>  
>  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.

-- 
        Dan Nelson
        dnelson@xxxxxxxxxxxxxxx