IsaMakefile
author zhang
Tue, 25 Jan 2011 12:14:31 +0000
changeset 31 b6815473ee2e
parent 30 f5db9e08effc
child 36 f5cc33a0ba99
permissions -rw-r--r--
1. Myhill.thy is proved to correct some typos. 2. Some sections are added to the first direction. 3. The small theory of list difference is now separated into Prefix_subtract.thy and the ROOT.ML


## targets

default: paper
all: slides paper

## global settings

SRC = $(ISABELLE_HOME)/src
OUT = $(ISABELLE_OUTPUT)
LOG = $(OUT)/log


USEDIR = $(ISABELLE_TOOL) usedir -v true -t true 


## Slides

session1: Slides/ROOT.ML \
         Slides/document/root* \
         Slides/Slides.thy
	@$(USEDIR) -D generated -f ROOT.ML ListP tphols-2011 

slides: session1 
	rm -f Slides/generated/*.aux # otherwise latex will fall over
	cd Slides/generated ; $(ISABELLE_TOOL) latex -o pdf root.beamer.tex 
	cp Slides/generated/root.beamer.pdf Slides/slides.pdf     


## Paper

session2: tphols-2011/ROOT.ML \
         tphols-2011/document/root* \
         *.thy
	@$(USEDIR) -D generated -f ROOT.ML ListP tphols-2011 

paper: session2 
	rm -f tphols-2011/generated/*.aux # otherwise latex will fall over
	cd tphols-2011/generated ; $(ISABELLE_TOOL) latex -o pdf root.tex 
	cp tphols-2011/generated/root.pdf tphols-2011/myhill.pdf     


## clean

clean:
	rm -rf Slides/generated/*
	rm -rf tphols-2011/generated/*