pkg := oldstandard
-SHELL = bash
+SHELL = /usr/local/bin/bash
PWD = $(shell pwd)
#ver := $(shell grep '\\edef\\pkgver' $(pkg).tex | grep -Eo '[0-9]{1,}\.[0-9]{1,}[a-z]{,1}')
ver := $(shell grep '\\edef\\pkgver' oldstandard.tex | egrep -o '[0-9]{1,}\.[0-9]{1,}\-?[a-z]?')
@echo "Removing .fontspec files from local texmf dir..."
rm -f $(TEXMFDIR)/tex/latex/fontspec/OldStandard.fontspec
git clean -df
- pandoc README.md -o about.html
@echo "Done."
.PHONY: doc all local package clean