Attic/IsaMakefile
author Christian Urban <urbanc@in.tum.de>
Fri, 08 Apr 2011 14:23:28 +0800
changeset 2754 2a3a37f29f4f
parent 1460 0fd03936dedb
permissions -rw-r--r--
more on 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