X-Git-Url: https://git.ladys.computer/OldStandard/blobdiff_plain/1cd10e432889a25ad4a97145adbcc3a5248c5b43..15056307c3cbc20845111074fa057be95504f926:/makefile diff --git a/makefile b/makefile deleted file mode 100644 index c19afb8..0000000 --- a/makefile +++ /dev/null @@ -1,31 +0,0 @@ -pkg := oldstandard -ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]?\.[0-9]?') -TEXMFDIR := $(shell kpsewhich -expand-var='$$TEXMFHOME') -HOMEDIR := $$HOME -LOCALFONTDIR := $(HOMEDIR)/.local/share/fonts - -doc: local - lualatex --shell-escape $(pkg).tex - biber $(pkg) - lualatex --shell-escape $(pkg).tex - lualatex --shell-escape $(pkg).tex - -all: doc - -local: clean - cp otf/OldStandard-*.otf $(LOCALFONTDIR)/ - luaotfload-tool --update - -package: doc - mkdir $(pkg) - cp *.{txt,md,tex,pdf} $(pkg) - cp otf/*.otf $(pkg) - tar czf $(pkg)-$(ver).tar.gz $(pkg) - -clean: - rm -f $(LOCALFONTDIR)/OldStandard-*.otf - luaotfload-tool --update - git clean -df - pandoc README.md -o about.html - -.PHONY: doc all local package clean