/[escript]/trunk/pyvisi/website/main.aap
ViewVC logotype

Contents of /trunk/pyvisi/website/main.aap

Parent Directory Parent Directory | Revision Log Revision Log


Revision 337 - (show annotations)
Mon Dec 12 01:57:07 2005 UTC (14 years, 10 months ago) by cochrane
File size: 2349 byte(s)
Initial merge of pyvisi into esys repository.
1 # main html files
2 # $Id: main.aap,v 1.12 2005/02/08 06:03:36 paultcochrane Exp $
3
4 Files =
5 index.html
6 docs.html
7 devel.html
8 examples.html
9 news.html
10 contacts.html
11 links.html
12 renderers.html
13 support.html
14 todo.html
15
16 # helper part files for building the html
17 partsDir = htmlbuild/
18
19 # where the css files are kept
20 cssDir = css/
21
22 # the directory of the html version of the latex manual
23 htmlDir = docs/manual/pyvisi_doc/
24
25 # the manual directory
26 manDir = docs/manual/
27
28 # publish stuff
29 publishFiles =
30 $Files
31 $(cssDir)pyvisi_banner-o.css
32 $(cssDir)pyvisi_banner.css
33 $(cssDir)pyvisi.css
34 images/*.gif
35 images/*.jpg
36 docs/api_epydoc/*.css
37 docs/api_epydoc/*.html
38 docs/api_epydoc/public/*.css
39 docs/api_epydoc/public/*.html
40 docs/api_epydoc/private/*.css
41 docs/api_epydoc/private/*.html
42 $(manDir)pyvisi_doc.pdf
43 $(manDir)pyvisi_doc.ps.gz
44 $(manDir)pyvisi_doc.tar.gz
45 $(htmlDir)*.css
46 $(htmlDir)*.html
47 $(htmlDir)*.png
48 examples/*.png
49 examples/*.html
50 :attr {publish = scp://paultcochrane@shell.sourceforge.net//home/groups/p/py/pyvisi/htdocs/%file%} $publishFiles
51
52 # generating the source
53 :print Executing the main aap file
54
55 all: $Files extras
56
57 extras:
58 :execute todo/main.aap
59 :execute examples/main.aap
60
61 # publish, or just generate the html files
62 @if TARGETARG == 'publish':
63 :print Publishing files to web site
64 publish: $publishFiles
65 :publishall
66 @else:
67 updatedStart = $(<)td class="updated"$(>)$BR $(<)i$(>)Last updated:
68 updatedEnd = $(<)/i$(>)$(<)br /$(>)$BR
69 comments = comments to: $(<)a href="mailto:paultcochrane@users.sourceforge.net"$(>)webmaster$(<)/a$(>)$BR $(<)/td$(>)$BR
70
71 :rule %.html : $(partsDir)doctype.part %/%_header.part \
72 $(partsDir)banner.part $(partsDir)spacer_start.part \
73 %/%_body.part $(partsDir)spacer_end.part \
74 $(partsDir)general_footer.part
75 @import time
76 :eval time.strftime("%A %d %B %Y", time.localtime(time.time()))
77 | :print $updatedStart $stdin$updatedEnd $comments
78 | :cat $(partsDir)doctype.part $(match)/$(match)_header.part \
79 $(partsDir)banner.part $(partsDir)spacer_start.part \
80 $(match)/$(match)_body.part $(partsDir)spacer_end.part - \
81 $(partsDir)general_footer.part >! $target
82
83

  ViewVC Help
Powered by ViewVC 1.1.26