diff options
author | Robert Alessi <alessi@robertalessi.net> | 2019-07-24 13:27:43 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2019-07-24 13:27:43 +0200 |
commit | dbb1ce8183ef875f252b7fceaf86c98a5e5bd84f (patch) | |
tree | 3fa8bbb7cbc290d1add3728a2689928cee77861f | |
parent | a55903b9a24c7eaa84063cae5eede626c01b11b8 (diff) | |
download | oldstandard-dbb1ce8183ef875f252b7fceaf86c98a5e5bd84f.tar.gz |
added makefile
-rw-r--r-- | makefile | 23 |
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 @@ | |||
1 | pkg=oldstandard-t | ||
2 | TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') | ||
3 | HOMEDIR := $$HOME | ||
4 | |||
5 | doc: clean | ||
6 | lualatex --shell-escape $(pkg).tex | ||
7 | biber $(pkg) | ||
8 | lualatex --shell-escape $(pkg).tex | ||
9 | lualatex --shell-escape $(pkg).tex | ||
10 | |||
11 | all: clean doc | ||
12 | |||
13 | package: 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 | |||
19 | clean: | ||
20 | git clean -df | ||
21 | pandoc README.md -o about.html | ||
22 | |||
23 | .PHONY: doc all package clean | ||