Attic/IsaMakefile
author Christian Urban <urbanc@in.tum.de>
Mon, 26 Apr 2010 20:17:41 +0200
changeset 1954 23480003f9c5
parent 1460 0fd03936dedb
permissions -rw-r--r--
some changes to the paper


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