]> Cypherpunks.ru repositories - pygost.git/blob - www.do
Armored signature
[pygost.git] / www.do
1 redo-ifchange *.texi VERSION
2 rm -f pygost.html/*.html
3 ${MAKEINFO:-makeinfo} --html \
4     -D "VERSION `cat VERSION`" \
5     --set-customization-variable NO_CSS=1 \
6     --set-customization-variable SECTION_NAME_IN_TITLE=1 \
7     --set-customization-variable TREE_TRANSFORMATIONS=complete_tree_nodes_menus \
8     --set-customization-variable FORMAT_MENU=menu \
9     --set-customization-variable EXTRA_HEAD='<link rev="made" href="mailto:webmaster@cypherpunks.ru">' \
10     --set-customization-variable DATE_IN_HEADER=1 \
11     --set-customization-variable ASCII_PUNCTUATION=1 \
12     --output pygost.html www.texi
13 (
14     cd pygost.html
15     export ATOM_ID="98c5d1c8-b867-4eee-91b0-ef2c507e93b9"
16     export NAME=PyGOST
17     export BASE_URL=http://www.pygost.cypherpunks.ru
18     export AUTHOR_EMAIL=pygost@cypherpunks.ru
19     ~/work/releases-feed/releases.atom.zsh
20 )
21 perl -i -npe 'print "<link rel=\"alternate\" title=\"Releases\" href=\"releases.atom\" type=\"application/atom+xml\">\n" if /^<\/head>/' pygost.html/Download.html
22 find pygost.html -type d -exec chmod 755 {} +
23 find pygost.html -type f -exec chmod 644 {} +