X-Git-Url: http://www.git.cypherpunks.ru/?p=gocheese.git;a=blobdiff_plain;f=www.do;h=778c3d46656b1cb084679fd6c5c2e0049004a7e8;hp=61a9a9618a63a24413389859277cddf92cb1d0a2;hb=232408af2996be5a87350e81c151508ca55cd171;hpb=0013774a8b2028f616103bfc1a38c9f7f14f8490 diff --git a/www.do b/www.do index 61a9a96..778c3d4 100644 --- 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 {} \;