redo-ifchange *.texi ../VERSION
html=goredo.html
rm -f $html/*.html
${MAKEINFO:=makeinfo} --html \
-D "VERSION `cat ../VERSION`" \
--css-include style.css \
--set-customization-variable SECTION_NAME_IN_TITLE=1 \
--set-customization-variable TREE_TRANSFORMATIONS=complete_tree_nodes_menus \
--set-customization-variable FORMAT_MENU=menu \
--set-customization-variable DATE_IN_HEADER=1 \
--set-customization-variable ASCII_PUNCTUATION=1 \
--output $html index.texi
(
cd $html/download
export ATOM_ID="d089a6f2-cd88-47e5-aa11-55f60adfb977"
export NAME=goredo
export BASE_URL=http://www.goredo.cypherpunks.ru/download
export AUTHOR_EMAIL=goredo@cypherpunks.ru
~/work/releases-feed/releases.atom.zsh
)
perl -i -npe 'print "\n" if /^<\/head>/' $html/Install.html
find $html -type d -exec chmod 755 {} +
find $html -type f -exec chmod 644 {} +