]> Cypherpunks.ru repositories - gocheese.git/blobdiff - www.do
Trivial shell optimizations
[gocheese.git] / www.do
diff --git a/www.do b/www.do
index 61a9a9618a63a24413389859277cddf92cb1d0a2..2f81bdea7fb716705443f09347dbb097827cbfa8 100644 (file)
--- a/www.do
+++ b/www.do
@@ -1,12 +1,16 @@
-rm -f gocheese.html/*.html
+redo-ifchange *.texi VERSION
+html=gocheese.html
+rm -f $html/*.html
 ${MAKEINFO:=makeinfo} --html \
-    --set-customization-variable CSS_LINES="`cat style.css`" \
+    -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 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 gocheese.html gocheese.texi
-find gocheese.html -type d -exec chmod 755 {} \;
-find gocheese.html -type f -exec chmod 644 {} \;
+    -o $html gocheese.texi
+find $html -type d -exec chmod 755 {} +
+find $html -type f -exec chmod 644 {} +