aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorY. Wang <yw05@forksworld.de>2022-08-10 11:16:05 +0200
committerY. Wang <yw05@forksworld.de>2022-08-10 11:16:05 +0200
commit80f2f33bfb2b9bf8d38db86aa7b1a982fd7a548d (patch)
tree1baaae42bfd67c3c6b1084acbcaa1a9cfa1773dc /Makefile
parent764f7d42913698d9c46f6b1adcff4f0fd73a86b0 (diff)
downloadadvtrains-80f2f33bfb2b9bf8d38db86aa7b1a982fd7a548d.tar.gz
advtrains-80f2f33bfb2b9bf8d38db86aa7b1a982fd7a548d.tar.bz2
advtrains-80f2f33bfb2b9bf8d38db86aa7b1a982fd7a548d.zip
Reformat advtrains.speed docs as manual pages; minor formatting changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fad6c8a..7beb1fc 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@ all: doc
doc: doc-pdf doc-man
doc-pdf: $(TEX_MAIN_DSTS)
-%.pdf:: %.tex $(MAN_TEX)
+%.pdf:: %.tex $(MAN_TEX) $(wildcard $(TEX_PATH)/*.tex)
$(LATEXMK) -cd -pdf $<
doc-man: $(MAN_DSTS)
@@ -32,5 +32,5 @@ doc-man: $(MAN_DSTS)
$(MAN_TEX): $(MAN_TEXS)
find $(MAN_PATH) -name '*.tex' -printf '\\input{../man/%P}\n' | sort > $(MAN_TEX)
-%.tex:: %.md
+%.tex:: %.md ${MANUAL_ROOT}/filter_man_md2tex.lua
$(PANDOC) -L ${MANUAL_ROOT}/filter_man_md2tex.lua -t latex -o $@ $<