]> Cypherpunks.ru repositories - gogost.git/blobdiff - www.do
Non need to marshal temporary buffers
[gogost.git] / www.do
diff --git a/www.do b/www.do
index 51b16f0bb9a2390ed1e51a6c46547523b006e985..174c93338344c632c9de5b5e695625d54c9dc462 100644 (file)
--- a/www.do
+++ b/www.do
@@ -1,11 +1,15 @@
-rm -f gogost.html/*.html
+redo-ifchange *.texi VERSION
+html=gogost.html
+rm -f $html/*.html
 ${MAKEINFO:-makeinfo} --html \
+    -D "VERSION `cat VERSION`" \
     --set-customization-variable EXTRA_HEAD='<link rev="made" href="mailto:webmaster@cypherpunks.ru">' \
     --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
+    -o $html www.texi
+find $html -type d -exec chmod 755 {} \;
+find $html -type f -exec chmod 644 {} \;