Attic/IsaMakefile
changeset 1260 9df6144e281b
parent 764 a603aa6c9d01
child 1460 0fd03936dedb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Attic/IsaMakefile	Thu Feb 25 07:57:17 2010 +0100
@@ -0,0 +1,46 @@
+
+## 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