diff options
author | jjsuperpower <jjs29356@gmail.com> | 2022-06-19 22:20:25 -0500 |
---|---|---|
committer | jjsuperpower <jjs29356@gmail.com> | 2022-06-19 22:20:25 -0500 |
commit | 26169bec7ae7b85d938f5d3c6e969885f2230541 (patch) | |
tree | 86752721345fc913acc1d3f8f9e4fdd322c97ae9 /Makefile |
added hdl folder
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..98545df --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +BOOK:=manual.pdf +SOURCES:=src/*.md +FIGURES:=$(shell find . -name "*.svg") +PFLAGS:=--table-of-contents \ + --pdf-engine=xelatex \ + --from=markdown \ + --number-sections \ + --indented-code-classes=javascript \ + --highlight-style=monochrome \ + -V mainfont="Apple Garamond" \ + -V monofont="FreeMono" \ + -V documentclass=report \ + -V papersize=letter \ + -V geometry:margin=1in + +.PHONY: all clean + +all: $(BOOK) + +$(BOOK): $(SOURCES) src/title.txt $(FIGURES) + pandoc $^ -o $@ $(PFLAGS) + +clean: + $(RM) *.pdf |