X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/d892b0c37404b40ef9f80c755e4fcb743e44c22d..7d69686f71d01de4f8df65b2d417b6b4faaac5ec:/doc/Makefile.am diff --git a/doc/Makefile.am b/doc/Makefile.am index ec29260..052247f 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -50,9 +50,10 @@ V_MAKEINDEX_ = $(V_MAKEINDEX_@AM_DEFAULT_V@) V_MAKEINDEX_0 = @echo " MAKEIDX $@"; run_pdflatex = $(V_LATEX)cd $(srcdir) && \ + version=$$(echo '$(VERSION)' | sed 's/~/\\textasciitilde /g') && \ $(PDFLATEX) $(TEXFLAGS) \ --jobname=$(basename $1) \ - '\def\pkgversion{$(VERSION)}\input{$1}' + "\def\pkgversion{$$version}\input{$1}" ###-------------------------------------------------------------------------- ### The manual. @@ -90,9 +91,15 @@ TEX_FILES += output.tex ## Other hacks. TEX_FILES += cutting-room-floor.tex +## Bibliography database. +BIB_FILES += sod.bib + ## Building the bibliography style. EXTRA_DIST += mdwalpha.dbj +## Spelling dictionary. +EXTRA_DIST += sod.words + ## Building the output documents. MAINTAINERCLEANFILES += sod.pdf sod.bst babelbst.tex