summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-06-22 12:50:48 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-06-22 12:50:48 +0000
commit00cc66c6332f66b13f7bce4fc7791261735b1ba7 (patch)
treeda8d99724e37579f16ca89630817cc3c03896faf
parent6ecb06f97a511a15a62c577aedd51361e6b7d481 (diff)
downloadrockbox-00cc66c6332f66b13f7bce4fc7791261735b1ba7.zip
rockbox-00cc66c6332f66b13f7bce4fc7791261735b1ba7.tar.gz
rockbox-00cc66c6332f66b13f7bce4fc7791261735b1ba7.tar.bz2
rockbox-00cc66c6332f66b13f7bce4fc7791261735b1ba7.tar.xz
Fix the (hopefully) last dash issue when building the manual.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13686 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--manual/LaTeX.Rules13
1 files changed, 7 insertions, 6 deletions
diff --git a/manual/LaTeX.Rules b/manual/LaTeX.Rules
index fbcd460..09404ea 100644
--- a/manual/LaTeX.Rules
+++ b/manual/LaTeX.Rules
@@ -117,6 +117,7 @@ END_FILE := $(shell ls $(DOCUMENT).end 2>/dev/null)
TEX_FILES := $(DOCUMENT).tex
OTHER_FILES := $(DOCUMENT).blg $(DOCUMENT).log $(DOCUMENT).out
INDEX_ARGS := -s mkidx.ist
+LATEXOPTS := -interaction=nonstopmode
# grab the contents of \bibliograph{} commands
ifeq ($(BIB_FILES),)
@@ -215,13 +216,13 @@ check_for_sources :
#
define run-latex
- @function saveold () { for file ; do [ -f $${file} ] && cp -fp $${file} $${file}.old ; done ; true ; } ; \
- function restoreold () { for file ; do [ -f $${file}.old ] && mv -f $${file}.old $${file} ; done ; true ; } ; \
- function deleteold () { for file ; do rm -f $${file}.old ; done ; true ; } ; \
- function makeobsolete () { touch -r $$(ls *.old | tail -n 1) $${1} ; true ; } ; \
- function nochange () { for file ; do [ ! -f $${1} ] || cmp $${1} $${1}.old >/dev/null || return ; done ; true ; } ; \
+ @saveold() { for file ; do [ -f $${file} ] && cp -fp $${file} $${file}.old ; done ; true ; } ; \
+ restoreold() { for file ; do [ -f $${file}.old ] && mv -f $${file}.old $${file} ; done ; true ; } ; \
+ deleteold() { for file ; do rm -f $${file}.old ; done ; true ; } ; \
+ 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) $* ; then \
+ if $(LATEX) $(LATEXOPTS) $* ; then \
if nochange $(MONITOR_FILES) ; then \
echo "$(MAKE): LaTeX auxiliary files did not change (processing is complete)" ; \
restoreold $(MONITOR_FILES) ; \