aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..8497892
--- /dev/null
+++ b/makefile
@@ -0,0 +1,23 @@
1pkg=oldstandard-t
2TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME')
3HOMEDIR := $$HOME
4
5doc: clean
6 lualatex --shell-escape $(pkg).tex
7 biber $(pkg)
8 lualatex --shell-escape $(pkg).tex
9 lualatex --shell-escape $(pkg).tex
10
11all: clean doc
12
13package: clean doc
14 mkdir $(pkg)
15 cp *.{txt,md,tex,pdf} $(pkg)
16 cp otf/*.otf $(pkg)
17 tar czf $(pkg).tar.gz $(pkg)
18
19clean:
20 git clean -df
21 pandoc README.md -o about.html
22
23.PHONY: doc all package clean