diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-06-22 12:50:48 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2007-06-22 12:50:48 +0000 |
commit | 00cc66c6332f66b13f7bce4fc7791261735b1ba7 (patch) | |
tree | da8d99724e37579f16ca89630817cc3c03896faf /manual/LaTeX.Rules | |
parent | 6ecb06f97a511a15a62c577aedd51361e6b7d481 (diff) | |
download | rockbox-00cc66c6332f66b13f7bce4fc7791261735b1ba7.tar.gz rockbox-00cc66c6332f66b13f7bce4fc7791261735b1ba7.zip |
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
Diffstat (limited to 'manual/LaTeX.Rules')
-rw-r--r-- | manual/LaTeX.Rules | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/manual/LaTeX.Rules b/manual/LaTeX.Rules index fbcd4603bd..09404eab5e 100644 --- a/manual/LaTeX.Rules +++ b/manual/LaTeX.Rules | |||
@@ -117,6 +117,7 @@ END_FILE := $(shell ls $(DOCUMENT).end 2>/dev/null) | |||
117 | TEX_FILES := $(DOCUMENT).tex | 117 | TEX_FILES := $(DOCUMENT).tex |
118 | OTHER_FILES := $(DOCUMENT).blg $(DOCUMENT).log $(DOCUMENT).out | 118 | OTHER_FILES := $(DOCUMENT).blg $(DOCUMENT).log $(DOCUMENT).out |
119 | INDEX_ARGS := -s mkidx.ist | 119 | INDEX_ARGS := -s mkidx.ist |
120 | LATEXOPTS := -interaction=nonstopmode | ||
120 | 121 | ||
121 | # grab the contents of \bibliograph{} commands | 122 | # grab the contents of \bibliograph{} commands |
122 | ifeq ($(BIB_FILES),) | 123 | ifeq ($(BIB_FILES),) |
@@ -215,13 +216,13 @@ check_for_sources : | |||
215 | # | 216 | # |
216 | 217 | ||
217 | define run-latex | 218 | define run-latex |
218 | @function saveold () { for file ; do [ -f $${file} ] && cp -fp $${file} $${file}.old ; done ; true ; } ; \ | 219 | @saveold() { for file ; do [ -f $${file} ] && cp -fp $${file} $${file}.old ; done ; true ; } ; \ |
219 | function restoreold () { for file ; do [ -f $${file}.old ] && mv -f $${file}.old $${file} ; done ; true ; } ; \ | 220 | restoreold() { for file ; do [ -f $${file}.old ] && mv -f $${file}.old $${file} ; done ; true ; } ; \ |
220 | function deleteold () { for file ; do rm -f $${file}.old ; done ; true ; } ; \ | 221 | deleteold() { for file ; do rm -f $${file}.old ; done ; true ; } ; \ |
221 | function makeobsolete () { touch -r $$(ls *.old | tail -n 1) $${1} ; true ; } ; \ | 222 | makeobsolete() { touch -r $$(ls *.old | tail -n 1) $${1} ; true ; } ; \ |
222 | function nochange () { for file ; do [ ! -f $${1} ] || cmp $${1} $${1}.old >/dev/null || return ; done ; true ; } ; \ | 223 | nochange() { for file ; do [ ! -f $${1} ] || cmp $${1} $${1}.old >/dev/null || return ; done ; true ; } ; \ |
223 | saveold $(MONITOR_FILES) ; \ | 224 | saveold $(MONITOR_FILES) ; \ |
224 | if $(LATEX) $* ; then \ | 225 | if $(LATEX) $(LATEXOPTS) $* ; then \ |
225 | if nochange $(MONITOR_FILES) ; then \ | 226 | if nochange $(MONITOR_FILES) ; then \ |
226 | echo "$(MAKE): LaTeX auxiliary files did not change (processing is complete)" ; \ | 227 | echo "$(MAKE): LaTeX auxiliary files did not change (processing is complete)" ; \ |
227 | restoreold $(MONITOR_FILES) ; \ | 228 | restoreold $(MONITOR_FILES) ; \ |