X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=www.do;h=eb8daabeafdc24851def2c28e71eae6c4fd35a00;hb=72c07122a888fb66d06623c5dc70aa596107aba5;hp=51b16f0bb9a2390ed1e51a6c46547523b006e985;hpb=15d288d2e44aa4b243bdcf2bc78d8353a260693c;p=gogost.git
diff --git a/www.do b/www.do
index 51b16f0..eb8daab 100644
--- a/www.do
+++ b/www.do
@@ -1,11 +1,24 @@
-rm -f gogost.html/*.html
+redo-ifchange *.texi VERSION
+html=gogost.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 EXTRA_HEAD='' \
- --set-customization-variable CSS_LINES="`cat style.css`" \
- --set-customization-variable SHOW_TITLE=0 \
- --set-customization-variable USE_ACCESSKEY=0 \
--set-customization-variable DATE_IN_HEADER=1 \
- --set-customization-variable TOP_NODE_UP_URL=index.html \
- --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
- --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
- -o gogost.html www.texi
+ --set-customization-variable ASCII_PUNCTUATION=1 \
+ --output $html www.texi
+(
+ cd $html
+ export ATOM_ID="34c4c603-9fa7-4441-a089-881d216d8638"
+ export NAME=GoGOST
+ export BASE_URL=http://www.gogost.cypherpunks.ru
+ export AUTHOR_EMAIL=gogost@cypherpunks.ru
+ ~/work/releases-feed/releases.atom.zsh
+)
+perl -i -npe 'print "\n" if /^<\/head>/' $html/Download.html
+find $html -type d -exec chmod 755 {} +
+find $html -type f -exec chmod 644 {} +