]> Cypherpunks.ru repositories - gocheese.git/blob - doc/www.do
releases.atom
[gocheese.git] / doc / www.do
1 redo-ifchange *.texi ../VERSION
2 html=gocheese.html
3 rm -f $html/*.html
4 ${MAKEINFO:=makeinfo} --html \
5     -D "VERSION `cat ../VERSION`" \
6     --css-include style.css \
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 SHOW_TITLE=0 \
11     --set-customization-variable DATE_IN_HEADER=1 \
12     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
13     --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
14     -o $html index.texi
15 (
16     cd $html/download
17     export ATOM_ID="f9e3d8b1-9da7-4ec0-adf9-82aef5bfcc29"
18     export NAME=GoCheese
19     export BASE_URL=http://www.gocheese.cypherpunks.ru/download
20     export AUTHOR_EMAIL=gocheese@cypherpunks.ru
21     ~/work/releases-feed/releases.atom.zsh
22 )
23 perl -i -npe 'print "<link rel=\"alternate\" title=\"Releases\" href=\"download/releases.atom\" type=\"application/atom+xml\">\n" if /^<\/head>/' $html/Install.html
24 find $html -type d -exec chmod 755 {} +
25 find $html -type f -exec chmod 644 {} +