11 ptfiles
= $(filter-out maintemplate.pt
, $(wildcard *.pt
))
12 htmlfiles
= $(patsubst %.pt
, %.html
, $(ptfiles
))
13 imagefiles
= valid-html401.png vcss.png pyx.ico
16 exampledirs
= $(shell cd ..
; find examples
-type d|grep
-v CVS
)
17 publicserver
= shell.sourceforge.net
18 publicpath
= /home
/groups
/p
/py
/pyx
/htdocs
22 scp
-oCompression
=yes
-r
$(builddir
)/* $(publicserver
):$(publicpath
)
23 -ssh
$(publicserver
) "cd $(publicpath); chmod -R g+w *"
30 cp
$(htmlfiles
) $(imagefiles
) $(cssfiles
) $(builddir
)
31 cp png
/*.png ..
/manual
/manual.pdf ..
/faq
/pyxfaq.pdf
$(builddir
)
32 cp
-r ..
/manual
/manual
$(builddir
)
34 for d in
$(exampledirs
); do mkdir
$(builddir
)/$$d; cp ..
/$$d/*.png ..
/$$d/*.eps
$(builddir
)/$$d; done
36 htmlfiles
: $(htmlfiles
)
38 %.html
: %.pt maintemplate.pt pt2html.py
39 PYTHONPATH
=/usr
/src
/ZopeCVS
/Zope3
/src
:~
/bin
/python
/Zope3
/src .
/pt2html.py
$<
43 cd ..
/examples
; make html
44 cd ..
/manual
; make pdf