IsaMakefile
author Cezary Kaliszyk <kaliszyk@in.tum.de>
Fri, 19 Feb 2010 10:17:35 +0100
changeset 1196 4efbaba9d754
parent 764 a603aa6c9d01
permissions -rw-r--r--
Constructing alpha_inj goal.


## 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