]> Sergey Matveev's repositories - tofuproxy.git/blob - doc/www.do
Download link for 0.3.0 release
[tofuproxy.git] / doc / www.do
1 redo-ifchange *.texi ../VERSION
2 html=tofuproxy.html
3 rm -f $html/*.html
4 ${MAKEINFO:=makeinfo} --html \
5     -D "VERSION `cat ../VERSION`" \
6     --set-customization-variable NO_CSS=1 \
7     --set-customization-variable SECTION_NAME_IN_TITLE=1 \
8     --set-customization-variable TREE_TRANSFORMATIONS=complete_tree_nodes_menus \
9     --set-customization-variable FORMAT_MENU=menu \
10     --set-customization-variable DATE_IN_HEADER=1 \
11     --set-customization-variable ASCII_PUNCTUATION=1 \
12     --output $html index.texi
13 cp -a *.webp ../PUBKEY-* $html/
14 (
15     cd $html/download
16     export ATOM_ID="e1e74079-3844-11ee-9b0c-a4ae1277b945"
17     export NAME=tofuproxy
18     export BASE_URL=http://www.tofuproxy.stargrave.org/download
19     export AUTHOR_EMAIL=tofuproxy@stargrave.org
20     ~/work/releases-feed/releases.atom.zsh
21 )
22 perl -i -npe 'print "<link rel=\"alternate\" title=\"Releases\" href=\"download/releases.atom\" type=\"application/atom+xml\">\n" if /^<\/head>/' $html/Install.html
23 find $html -type d -exec chmod 755 {} +
24 find $html -type f -exec chmod 644 {} +