A triple is still ok.
## targets
default: Quot
images:
all: Quot
## global settings
SRC = $(ISABELLE_HOME)/src
OUT = $(ISABELLE_OUTPUT)
LOG = $(OUT)/log
USEDIR = $(ISABELLE_TOOL) usedir -v true -t true ##-D generated
## Quot
Quot: $(LOG)/HOL-Quot.gz
$(LOG)/HOL-Quot.gz: Quot/ROOT.ML Quot/*.thy
@$(USEDIR) HOL-Nominal Quot
paper: $(LOG)/HOL-Quot-Paper.gz
$(LOG)/HOL-Quot-Paper.gz: Paper/ROOT.ML Paper/document/root.tex Paper/*.thy
@$(USEDIR) -D generated HOL Paper
$(ISATOOL) document -o pdf Paper/generated
@cp Paper/document.pdf paper.pdf
keywords:
mkdir -p tmp
cp $(ISABELLE_HOME)/heaps/polyml-5.3.0_x86-linux/log/Pure.gz tmp
cp $(ISABELLE_HOME)/heaps/polyml-5.3.0_x86-linux/log/HOL.gz tmp
cp $(ISABELLE_HOME)/heaps/polyml-5.3.0_x86-linux/log/Pure-ProofGeneral.gz tmp
cp $(ISABELLE_HOME)/heaps/polyml-5.3.0_x86-linux/log/HOL-Nominal.gz tmp
cp $(LOG)/HOL-Nominal-Quot.gz tmp
isabelle keywords -k quot tmp/*
## clean
clean:
@rm -f $(LOG)/HOL-Quot.gz