some attr reorganization
[PyX.git] / www / Makefile
blobd197b4696efa9ee56baca271b0255cce2f585178
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 imagefiles = valid-html401.png vcss.png pyx.ico
13 cssfiles = main.css
14 builddir = build
16 html: $(htmlfiles)
17 cd png; make
19 install: html
20 -mkdir $(builddir)
21 cp $(htmlfiles) $(imagefiles) $(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 -p -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:~/bin/python/Zope3/src ./pt2html.py $<