]> Cypherpunks.ru repositories - gocheese.git/blobdiff - www.do
Version refactoring
[gocheese.git] / www.do
diff --git a/www.do b/www.do
index 61a9a9618a63a24413389859277cddf92cb1d0a2..778c3d46656b1cb084679fd6c5c2e0049004a7e8 100644 (file)
--- a/www.do
+++ b/www.do
@@ -1,12 +1,14 @@
-rm -f gocheese.html/*.html
+redo-ifchange *.texi VERSION
+html=gocheese.html
+rm -f $html/*.html
 ${MAKEINFO:=makeinfo} --html \
+    -D "VERSION `cat VERSION`" \
     --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 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 {} \;