~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc/Makefile.am, doc/sod.tex: Include package version on title page.
[sod]
/
doc
/
Makefile.am
diff --git
a/doc/Makefile.am
b/doc/Makefile.am
index
53820a1
..
5f090d8
100644
(file)
--- a/
doc/Makefile.am
+++ b/
doc/Makefile.am
@@
-34,6
+34,11
@@
EXTRA_DIST += $(TEX_FILES)
TEXFLAGS = --interaction=nonstopmode \
--output-directory=$(abs_builddir)
TEXFLAGS = --interaction=nonstopmode \
--output-directory=$(abs_builddir)
+run_pdflatex = cd $(srcdir) && \
+ pdflatex $(TEXFLAGS) \
+ --jobname=$(basename $1) \
+ '\def\pkgversion{$(VERSION)}\input{$1}'
+
###--------------------------------------------------------------------------
### The manual.
###--------------------------------------------------------------------------
### The manual.
@@
-43,6
+48,9
@@
TEX_FILES += sod.tex
## Main document styling and definitions.
TEX_FILES += sod.sty
## Main document styling and definitions.
TEX_FILES += sod.sty
+## The introduction.
+TEX_FILES += intro.tex
+
## Tutorial.
TEX_FILES += tutorial.tex
## Tutorial.
TEX_FILES += tutorial.tex
@@
-71,9
+79,10
@@
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 $(TEXFLAGS) sod.tex
- cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex
+ $(call run_pdflatex,sod.tex)
+ bibtex sod.aux
+ $(call run_pdflatex,sod.tex)
makeindex sod.idx
makeindex sod.idx
- cd $(srcdir) && pdflatex $(TEXFLAGS) sod.tex
+ $(call run_pdflatex,sod.tex)
###----- That's all, folks --------------------------------------------------
###----- That's all, folks --------------------------------------------------