#
#
#
#


all: html

html: present-python

slides: present-python-slides 

present-python: python.xml
	xmlto -o present-python html python.xml

present-python-slides: python-slides.xml xsl/slides.xsl
	rm -rf present-pythons-slides/*; \
	xsltproc  --novalid xsl/slides.xsl python-slides.xml; \
	mv -f *.html present-python-slides; 

clean:
	rm -rf present-python present-python-slides


distrib: distrib/present-python-slides.tar.gz

distrib/present-python-slides.tar.gz: slides python-slides.xml examples funny Makefile README.utf-8 README.ascii
	rm -rf distrib/; mkdir distrib; \
	tar zcvf distrib/present-python-slides.tar.gz Makefile README.utf-8 README.ascii python-slides.xml present-python-slides/ examples/ funny
