oops: remove reference to not yet existing module slipped in earlier
[PyX/mjg.git] / www / Makefile
blob2ab816898dafd837287766e4b9b4c311abece60e
1 default: build
3 htmlfiles = $(patsubst %.pt, %.html, $(filter-out maintemplate.pt examples.pt, $(wildcard *.pt))) examples/index.html $(patsubst %, examples/%index.html, $(shell grep / ../examples/INDEX))
4 imagefiles = valid-html401.png vcss.png pyx.ico
5 cssfiles = main.css
6 publicserver = shell.sourceforge.net
7 publicpath = /home/groups/p/py/pyx/htdocs
9 all:
10 make clean
11 make build
13 clean:
14 rm -r build
16 public:
17 scp -oCompression=yes -r build/* $(publicserver):$(publicpath)
18 make chmod
20 chmod:
21 -ssh $(publicserver) "cd $(publicpath); chmod -fR g+w *"
23 build: always
24 -mkdir build
25 cp $(imagefiles) $(cssfiles) build
26 cp png/*.png ../manual/manual.pdf ../faq/pyxfaq.pdf build
27 cp -r ../manual/manual build
28 for d in "" $(shell grep / ../examples/INDEX); do mkdir build/examples/$$d; cp ../examples/$$d*.png ../examples/$$d*.eps build/examples/$$d; done
29 PYTHONPATH=~/bin/python/Zope3/src ./pt2html.py
31 always:
32 @# just ensure to always build new even when the directory already exists