aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Alessi <alessi@robertalessi.net>2019-07-24 13:27:43 +0200
committerRobert Alessi <alessi@robertalessi.net>2019-07-24 13:27:43 +0200
commitdbb1ce8183ef875f252b7fceaf86c98a5e5bd84f (patch)
tree3fa8bbb7cbc290d1add3728a2689928cee77861f
parenta55903b9a24c7eaa84063cae5eede626c01b11b8 (diff)
downloadoldstandard-dbb1ce8183ef875f252b7fceaf86c98a5e5bd84f.tar.gz
added makefile
-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