doc/: Minor cleanups, as a result of a spell-check pass.
[sod] / doc / Makefile.am
index ec29260..052247f 100644 (file)
@@ -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