diff options
Diffstat (limited to '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 | ||