IsaMakefile
changeset 1772 48c2eb84d5ce
parent 1491 f970ca9b5bec
child 1774 c34347ec7ab3
--- a/IsaMakefile	Fri Apr 02 15:28:55 2010 +0200
+++ b/IsaMakefile	Sat Apr 03 21:53:04 2010 +0200
@@ -4,7 +4,7 @@
 default: Nominal2
 images: 
 
-all: Nominal2 paper
+all: Nominal2 paper pearl
 
 
 ## global settings
@@ -23,6 +23,8 @@
 $(LOG)/HOL-Nominal2.gz: Nominal/ROOT.ML Nominal/*.thy
 	@cd Nominal; $(USEDIR) -b -d "" HOL Nominal
 
+## Nominal2 Paper
+
 paper: $(LOG)/HOL-Nominal2-Paper.gz
 
 $(LOG)/HOL-Nominal2-Paper.gz: Paper/ROOT.ML Paper/document/root.tex Paper/*.thy
@@ -30,7 +32,17 @@
 	$(ISABELLE_TOOL) document -o pdf  Paper/generated
 	@cp Paper/document.pdf paper.pdf
 
+## Pearl Paper
+
+pearl: $(LOG)/HOL-Pearl.gz
+
+$(LOG)/HOL-Pearl.gz: Nominal/Nominal*.thy Pearl/ROOT.ML Pearl/document/root.* Pearl/*.thy
+	@$(USEDIR) -D generated HOL Pearl
+	$(ISABELLE_TOOL) document -o pdf Pearl/generated
+	@cp Pearl/document.pdf pearl.pdf
+
+
 ## clean
 
 clean:
-	@rm -f $(LOG)/HOL-Nominal2.gz
+	@rm -f $(LOG)/HOL-Nominal2.gz $(LOG)/HOL-Pearl.gz