chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d47e7cb
)
doc/Makefile.am: Abstract out repeated TeX arguments into a variable.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 2 Aug 2017 09:55:51 +0000
(10:55 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:40 +0000
(19:58 +0100)
doc/Makefile.am
patch
|
blob
|
blame
|
history
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index c61002d6bb84e578ea7c980789219fbbd33b79e0..60661d5f1a2228a44c846f51b719688dc9015a36 100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-31,6
+31,8
@@
TEX_FILES =
CLEANFILES += *.aux *.out *.log *.toc *.ind *.idx *.ilg
EXTRA_DIST += $(TEX_FILES)
CLEANFILES += *.aux *.out *.log *.toc *.ind *.idx *.ilg
EXTRA_DIST += $(TEX_FILES)
+TEXFLAGS = --output-directory=$(abs_builddir)
+
###--------------------------------------------------------------------------
### The manual.
###--------------------------------------------------------------------------
### The manual.
@@
-68,9
+70,9
@@
MAINTAINERCLEANFILES += sod.pdf
EXTRA_DIST += sod.pdf
doc_DATA += sod.pdf
sod.pdf: $(TEX_FILES)
EXTRA_DIST += sod.pdf
doc_DATA += sod.pdf
sod.pdf: $(TEX_FILES)
- cd $(srcdir) && pdflatex
--output-directory=$(abs_builddir
) sod.tex
- cd $(srcdir) && pdflatex
--output-directory=$(abs_builddir
) sod.tex
+ cd $(srcdir) && pdflatex
$(TEXFLAGS
) sod.tex
+ cd $(srcdir) && pdflatex
$(TEXFLAGS
) sod.tex
makeindex sod.idx
makeindex sod.idx
- cd $(srcdir) && pdflatex
--output-directory=$(abs_builddir
) sod.tex
+ cd $(srcdir) && pdflatex
$(TEXFLAGS
) sod.tex
###----- That's all, folks --------------------------------------------------
###----- That's all, folks --------------------------------------------------