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 publicserver
= shell.sourceforge.net
5 publicpath
= /home
/groups
/p
/py
/pyx
/htdocs
15 scp
-oCompression
=yes
-r build
/* $(publicserver
):$(publicpath
)
19 -ssh
$(publicserver
) "cd $(publicpath); chmod -fR g+w *"
25 cp png
/*.png ..
/manual
/manual.pdf ..
/faq
/pyxfaq.pdf build
26 cp
-r ..
/manual
/manual build
27 for d in
"" $(shell grep
/ ..
/examples
/INDEX
); do mkdir build
/examples
/$$d; cp ..
/examples
/$$d*.png ..
/examples
/$$d*.eps build
/examples
/$$d; done
28 PYTHONPATH
=~
/bin
/python
/Zope3
/src .
/pt2html.py
31 @
# just ensure to always build new even when the directory already exists