Makefile 719 Bytes
Newer Older
1
RELEASE_DIR = haskell-prime-draft
2
JFP_DIR = jfp-release
Simon Peyton Jones's avatar
Simon Peyton Jones committed
3

4
default:
Simon Marlow's avatar
tidy up    
Simon Marlow committed
5
6
	cd tools && make
	cd report && make
7

Simon Peyton Jones's avatar
Simon Peyton Jones committed
8
release:
9
	(cd tools; make)
Simon Peyton Jones's avatar
Simon Peyton Jones committed
10
11
	(cd report; make release)
	(cd libraries; make release)
12
	(cd jfp-release; make)
13
14
	cp report/haskell-prime-draft.html $(RELEASE_DIR)/index.html
	cp hprime.png $(RELEASE_DIR)
15
16
17
18
19
20
21
22
23
24
25
26
27
	gzip < jfp-release/h98-book.ps > $(RELEASE_DIR)/h98-book.ps.gz
	gzip < jfp-release/h98-book.pdf > $(RELEASE_DIR)/h98-book.pdf.gz

jfp:
	-mkdir $(JFP_DIR)
	(cd report; make jfp)
	(cd libraries; make jfp)

# Places to change when you change the date of the Report
# 	h98-revised.html
#	report/index.html   libraries/index.html
#	report/html.config  libraries/html.config
#	report/haskell.verb libraries/library.verb