]> Cypherpunks.ru repositories - cypherpunks-www.git/blobdiff - all.do
Теперь у меня другой ключ
[cypherpunks-www.git] / all.do
diff --git a/all.do b/all.do
index 1fde72a368d3e31f51558e1c4de78912d7a74937..7e6a8f13b25d71c38a8fc1d0d327144d481b6e59 100644 (file)
--- a/all.do
+++ b/all.do
@@ -1,4 +1,5 @@
-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 \
@@ -9,4 +10,7 @@ ${MAKEINFO:-makeinfo} --html \
     --set-customization-variable DATE_IN_HEADER=1 \
     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
     --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
-    -o cypherpunks.html index.texi
+    -o $html index.texi
+( cd static ; tar cf - . ) | tar xfC - $html
+find $html -type d -exec chmod 755 {} +
+find $html -type f -exec chmod 644 {} +