]> Cypherpunks.ru repositories - gogost.git/blob - www.do
releases.atom
[gogost.git] / www.do
1 redo-ifchange *.texi VERSION
2 html=gogost.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 EXTRA_HEAD='<link rev="made" href="mailto:webmaster@cypherpunks.ru">' \
11     --set-customization-variable SHOW_TITLE=0 \
12     --set-customization-variable DATE_IN_HEADER=1 \
13     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
14     --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
15     -o $html www.texi
16 (
17     cd $html
18     export ATOM_ID="34c4c603-9fa7-4441-a089-881d216d8638"
19     export NAME=GoGOST
20     export BASE_URL=http://www.gogost.cypherpunks.ru
21     export AUTHOR_EMAIL=gogost@cypherpunks.ru
22     ~/work/releases-feed/releases.atom.zsh
23 )
24 perl -i -npe 'print "<link rel=\"alternate\" title=\"Releases\" href=\"releases.atom\" type=\"application/atom+xml\">\n" if /^<\/head>/' $html/Download.html
25 find $html -type d -exec chmod 755 {} +
26 find $html -type f -exec chmod 644 {} +