head	1.3;
access;
symbols;
locks; strict;
comment	@# @;


1.3
date	2009.03.13.16.33.10;	author tallniel;	state Exp;
branches;
next	1.2;

1.2
date	2009.03.06.18.43.13;	author tallniel;	state Exp;
branches;
next	1.1;

1.1
date	2009.03.06.03.11.25;	author tallniel;	state Exp;
branches;
next	;


desc
@@


1.3
log
@2009-03-13  Neil Madden  <nem@@cs.nott.ac.uk>
	* book/*: More updates. Finished introductory chapter. More on control
	structures and loops.
@
text
@SRCDIR=latex
PDFDIR=pdf
HTMLDIR=html
PDFLATEX=pdflatex
PDFLATEXFLAGS=-output-directory=$(PDFDIR)
HTMLLATEX=tex2page
HTMLLATEXFLAGS=
BIBTEX=bibtex
MAKEIDX=makeindex

all: pdf/tutorial.pdf html/tutorial.html
	
pdf/tutorial.pdf: latex/*.tex
	$(PDFLATEX) $(PDFLATEXFLAGS) latex/tutorial
	$(BIBTEX) pdf/tutorial
	$(MAKEIDX) pdf/tutorial.idx
	$(PDFLATEX) $(PDFLATEXFLAGS) latex/tutorial

html/tutorial.html: latex/*.tex
	$(HTMLLATEX) $(HTMLLATEXFLAGS) latex/tutorial
@


1.2
log
@2009-03-06  Neil Madden  <nem@@cs.nott.ac.uk>
* book/html/style.css: Added custom stylesheet.
* book/latex/tutorial.tex: Imported more intro sections.
* book/*: Regenerated targets (pdf and html).
@
text
@d13 2
a14 2
pdf/tutorial.pdf: latex/tutorial.tex
	$(PDFLATEX) $(PDFLATEXFLAGS) $<
d17 1
a17 1
	$(PDFLATEX) $(PDFLATEXFLAGS) $<
d19 2
a20 2
html/tutorial.html: latex/tutorial.tex
	$(HTMLLATEX) $(HTMLLATEXFLAGS) $<
@


1.1
log
@2009-03-06  Neil Madden  <nem@@cs.nott.ac.uk>
* html/tcltutorial.html: Split contents into sections
* book/*: Added a new 'book' as a future version of the tutorial.
Started moving content into the new format.
@
text
@d9 1
d16 1
d20 1
a20 1
	$(HTMLLATEX) $(HTMLLATEXFLAGS) $<@

