epstopng
[PyX/mjg.git] / www / Makefile
blob157e05781aa3b206d4f22a8c3473a31d3a36a174
1 default: html
3 clean:
4 -rm *.html
6 all:
7 make clean
8 make install
10 ptfiles = $(filter-out maintemplate.pt, $(wildcard *.pt))
11 htmlfiles = $(patsubst %.pt, %.html, $(ptfiles))
12 pngfiles = valid-html401.png vcss.png
13 cssfiles = main.css
14 builddir = build
16 html: $(htmlfiles) $(pngfiles)
17 cd png; make
19 install: html
20 -mkdir $(builddir)
21 cp $(htmlfiles) $(pngfiles) $(cssfiles) $(builddir)
22 cd png; make
23 cp png/*.png ../examples/*.png ../examples/*/*.png $(builddir)
24 cp ../examples/*.eps ../examples/*/*.eps $(builddir)
25 cp ../manual/manual.pdf $(builddir)
26 chmod -R 664 $(builddir)/*
27 scp -oCompression=yes -r $(builddir)/* shell.sourceforge.net:/home/groups/p/py/pyx/htdocs
29 %.html: %.pt maintemplate.pt pt2html.py
30 PYTHONPATH=/usr/src/ZopeCVS/Zope3/src ./pt2html.py $<