3 ptfiles
= $(filter-out maintemplate.pt
, $(wildcard *.pt
))
4 htmlfiles
= $(patsubst %.pt
, %.html
, $(ptfiles
))
5 imagefiles
= valid-html401.png vcss.png pyx.ico
8 exampledirs
= $(shell cd ..
; find examples
-type d|grep
-v CVS
)
9 publicserver
= shell.sourceforge.net
10 publicpath
= /home
/groups
/p
/py
/pyx
/htdocs
21 scp
-oCompression
=yes
-r
$(builddir
)/* $(publicserver
):$(publicpath
)
22 -ssh
$(publicserver
) "cd $(publicpath); chmod -fR g+w *"
24 build
: htmlfiles always
27 cp
$(htmlfiles
) $(imagefiles
) $(cssfiles
) $(builddir
)
28 cp png
/*.png ..
/manual
/manual.pdf ..
/faq
/pyxfaq.pdf
$(builddir
)
29 cp
-r ..
/manual
/manual
$(builddir
)
31 for d in
$(exampledirs
); do mkdir
$(builddir
)/$$d; cp ..
/$$d/*.png ..
/$$d/*.eps
$(builddir
)/$$d; done
33 htmlfiles
: $(htmlfiles
)
35 %.html
: %.pt maintemplate.pt pt2html.py
36 PYTHONPATH
=/usr
/src
/ZopeCVS
/Zope3
/src
:~
/bin
/python
/Zope3
/src .
/pt2html.py
$<