> > > > It appears that 'make dvi' is aborting when bibtex gets errors, which
> > > > it always does for the reference manual because there's no
> > > > bibliography.  
> 
> that would be weird, becuase of the || true command.

I think it looks like this now:

   (cd  && latex &&  (bibtex  && latex  && latex ) || true )

The subexpression (bibtex && latex && latex) runs bibtex.  It returns
false.  Short circuiting occurs---it's unnecessary to run either of
the latex's to evaluate the result.

BWT, the make is not aborting with failure.  It's finishing
successfully, but latex is only run 1 time which isn't enough to
generate the table of contents and so on.  

> > > > I guess bibtex returns false and so the rest of the && chain short
> > > > circuits.  This means references don't get fixed and the table of
> > > > contents is screwed up.  I'm not quite sure what is intended here, so
> > > > I didn't try to produce a fix.  (Why the long chain with && instead of
> > > > just a list of commands?)
> > > because of the cd $(outdir)
> > > 
> > > 
> > > > $(outdir)/%.dvi: $(outdir)/%.latex
> > > >         (cd $(outdir)&& \
> > > >           latex \\nonstopmode \\input $(<F)&&\
> > > >           (bibtex $(basename $(<F))&&\
> > > >           latex \\nonstopmode \\input $(<F)&&\
> > > >           latex \\nonstopmode \\input $(<F) ) || true)
> > > > 
> > 
> > So would it be ok to use semicolons instead of &&'s?
>  maybe || true can be moved.

Perhaps an additional "|| true" after the bibtex call is what is
needed.

Reply via email to