Set latex input to /dev/null to avoid blocking on errors
Change-Id: If8878efb5d4244f5d25b9bfd4751a262080af53f
This commit is contained in:
parent
9ffd9327e3
commit
3d983866a1
2 changed files with 3 additions and 3 deletions
|
@ -230,7 +230,7 @@ define run-latex
|
|||
makeobsolete() { touch -r $$(ls *.old | tail -n 1) $${1} ; true ; } ; \
|
||||
nochange() { for file ; do [ ! -f $${1} ] || cmp $${1} $${1}.old >/dev/null || return ; done ; true ; } ; \
|
||||
saveold $(MONITOR_FILES) ; \
|
||||
if $(LATEX) $(LATEXOPTS) $* $(LATEXFILTER) ; then \
|
||||
if $(LATEX) $(LATEXOPTS) $* </dev/null $(LATEXFILTER); then \
|
||||
if nochange $(MONITOR_FILES) ; then \
|
||||
echo "$(MAKE): LaTeX auxiliary files did not change (processing is complete)" ; \
|
||||
restoreold $(MONITOR_FILES) ; \
|
||||
|
@ -275,7 +275,7 @@ $(PDF_FILE) : %.pdf : $(TEX_FILES) $(MONITOR_FILES) $(GRAPHIC_FILES) $(XFIG_TEX)
|
|||
#
|
||||
|
||||
%.aux %.idx : $(XFIG_TEX)
|
||||
$(LATEX) $(LATEXOPTS) $* $(LATEXFILTER)
|
||||
$(LATEX) $(LATEXOPTS) $* </dev/null $(LATEXFILTER)
|
||||
|
||||
#
|
||||
# Distill xfig .fig files into .fig.tex and either .fig.pdf or .fig.ps
|
||||
|
|
|
@ -16,7 +16,7 @@ buildmanual: rockbox-build.tex pdf
|
|||
|
||||
buildhtml: rockbox-build.tex
|
||||
@mkdir -p $(OBJDIR)/html
|
||||
@$(HTLATEX) $(DOCUMENT) "$(HTOPTS1),$(SPLITHTML)" $(HTOPTS2) $(HTOPTS3)
|
||||
@$(HTLATEX) $(DOCUMENT) "$(HTOPTS1),$(SPLITHTML)" $(HTOPTS2) $(HTOPTS3) </dev/null
|
||||
@cp --parent `cat $(OBJDIR)/html/*.html | sed -e '/\.js/!d;s/.*\"\(.*\.js\)\".*/\1/g;/</d' | uniq` $(OBJDIR)/html
|
||||
@cp --parent `cat $(OBJDIR)/html/*.html | sed -e '/[pj][np]g/!d;s/.*\"\(.*\.[pj][np]g\)\".*/\1/g;/</d'` $(OBJDIR)/html
|
||||
@cp -r $(OBJDIR)/html $(OBJDIR)/../
|
||||
|
|
Loading…
Reference in a new issue