1 ZOPEDIR ?
= $(HOME
)/python
/zope-3.2
.1/lib
/python
6 htmlfiles
= $(patsubst %.pt
, %.html
, $(filter-out maintemplate.pt examples.pt
, $(wildcard *.pt
))) examples
/index.html
$(patsubst %, examples
/%index.html
, $(shell grep
/ ..
/examples
/INDEX
))
7 publicserver
= shell.sourceforge.net
8 publicpath
= /home
/groups
/p
/py
/pyx
/htdocs
18 scp
-oCompression
=yes
-r build
/* $(publicserver
):$(publicpath
)
22 -ssh
$(publicserver
) "cd $(publicpath); chmod -fR g+w *"
28 cp png
/*.png ..
/manual
/manual.pdf ..
/faq
/pyxfaq.pdf build
29 cp
-r ..
/manual
/manual build
30 for d in
"" $(shell grep
/ ..
/examples
/INDEX
); \
32 mkdir build
/examples
/$$d; \
33 for s in png py jpg dat eps pdf
; \
35 cp ..
/examples
/$$d*.
$$s build
/examples
/$$d 2> /dev
/null
; \
38 PYTHONPATH
=$(ZOPEDIR
) $(PYTHON
) pt2html.py
41 @
# just ensure to always build new even when the directory already exists