summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2016-05-09 15:02:07 +0930
committerAndrew Jeffery <andrew@aj.id.au>2016-05-09 15:10:34 +0930
commitbba5b1817e89bd63766e2bb91d406130f027fcaf (patch)
tree541a5f65bcdd1ecb93c2f434c549139c7389cfce /Makefile
parenta72974312446174f382ab424460f3b355fc2874c (diff)
downloadopenbmc-docs-bba5b1817e89bd63766e2bb91d406130f027fcaf.tar.gz
openbmc-docs-bba5b1817e89bd63766e2bb91d406130f027fcaf.zip
userguide: Generate userguide.tex to include \tightlist macro
Allow xelatex to build userguide.pdf without errors. pandoc injects \tightlist macros into its output files which cause xelatex to choke. By processing the hand-rolled userguide.tex with pandoc the definition is injected and xelatex can build the PDF. Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 82ec1c3..c00b79c 100644
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,12 @@ all: userguide.pdf
.PHONY: all clean
-userguide.pdf: userguide/userguide.tex
+userguide.pdf: userguide.tex
$(tex) $^
+userguide.tex: userguide/userguide.tex
+ pandoc -f latex -t latex -s -o $@ $^
+
userguide/userguide.tex: rest-api.tex host-management.tex console.tex code-update.tex
%.tex: %.md
OpenPOWER on IntegriCloud