]> Cypherpunks.ru repositories - cypherpunks-www.git/blobdiff - all.do
Корректные права на файлы сгенерированного сайта
[cypherpunks-www.git] / all.do
diff --git a/all.do b/all.do
index 9c8625bd3aa25b42cc067a5fb018c39a0d69f6f7..e7c0b3b9021fea925ee5e5a03bf60d31bf41ee92 100644 (file)
--- a/all.do
+++ b/all.do
@@ -1,10 +1,15 @@
-rm -rf cypherpunks.html
+html=cypherpunks.html
+rm -rf $html
 ${MAKEINFO:-makeinfo} --html \
     --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='<link rev="made" href="mailto:webmaster@cypherpunks.ru">' \
     --set-customization-variable SHOW_TITLE=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 cypherpunks.html index.texi
+    -o $html index.texi
+find $html -type d -exec chmod 755 {} +
+find $html -type f -exec chmod 644 {} +