]> Cypherpunks.ru repositories - cypherpunks-www.git/blobdiff - all.do
Корректные права на файлы сгенерированного сайта
[cypherpunks-www.git] / all.do
diff --git a/all.do b/all.do
index c7dacabd5b29bd6a7d7d2f9a3342ebfe5399421e..e7c0b3b9021fea925ee5e5a03bf60d31bf41ee92 100644 (file)
--- a/all.do
+++ b/all.do
@@ -1,11 +1,15 @@
-rm -rf cypherpunks.html
-makeinfo --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 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 cypherpunks.html index.texi
+    -o $html index.texi
+find $html -type d -exec chmod 755 {} +
+find $html -type f -exec chmod 644 {} +