## targets
default: utm
images: utm
test:
all: images test
## global settings
SRC = $(ISABELLE_HOME)/src
OUT = $(ISABELLE_OUTPUT)
LOG = $(OUT)/log
USEDIR = $(ISABELLE_TOOL) usedir -v true -i false -d pdf ## -D generated
## utm
utm: $(OUT)/utm
$(OUT)/utm: *.thy
@$(USEDIR) -b HOL UTM
session: ROOT.ML \
document/root* \
*.thy
@$(USEDIR) -D generated -f ROOT.ML UTM .
paper: utm
rm -f generated/*.aux # otherwise latex will fall over
cd generated ; $(ISABELLE_TOOL) latex -o pdf root.tex
# cd generated ; bibtex root
# cd generated ; $(ISABELLE_TOOL) latex -o pdf root.tex
cp generated/root.pdf paper.pdf
## clean
clean:
@rm -f $(OUT)/utm