-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
executable file
·39 lines (36 loc) · 999 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Makes a PDF
# Assumes you have installed pandoc and required libraries.
# Tested on Ubuntu
#
# sudo apt install pandoc texlive-latex-recommended texlive-latex-extra texlive-fonts-extra
#
.PHONY: all
all: clean
mkdir -pv artifacts
pandoc -s -o artifacts/z80-retro-manual.pdf \
--template pandoc_template/eisvogel.latex \
--listings \
-V table-use-row-colors=true \
-V papersize:a4paper \
-V geometry:margin=2cm \
-V classoption=oneside \
-V titlepage=true \
-V listings-no-page-break=true \
"README.md" \
"PREFACE.md" \
"Z80-RETRO-ARCHITECTURE.md" \
"Z80-RETRO-ALTERNATE-PARTS.md" \
"Z80-RETRO-BUILD.md" \
"Z80-RETRO-MEMORY.md" \
"Z80-RETRO-DEVELOPMENT.md" \
"Z80-RETRO-FIRMWARE.md" \
"Z80-RETRO-TERMINAL-SETTINGS.md" \
"Z80-RETRO-INSTALL-CPM.md" \
"Z80-RETRO-FILE-XFER.md" \
"Z80-RETRO-IO-PORTS.md" \
"Z80-RETRO-VDP-BUILD.md" \
"Z80-RETRO-EMULATOR.md" \
"Z80-RETRO-ORG-AND-GIT.md" \
"pandoc_template/metadata.md"
clean:
rm -fr artifacts/*.pdf