From: Sergey Matveev Date: Sun, 2 Aug 2020 12:20:11 +0000 (+0300) Subject: www.do DRY X-Git-Tag: v4.3.0~3 X-Git-Url: http://www.git.cypherpunks.ru/?p=gogost.git;a=commitdiff_plain;h=f0da7473eb3fe325b82844efb3f759e01fddcc40 www.do DRY --- diff --git a/www.do b/www.do index 51b16f0..b2142c9 100644 --- a/www.do +++ b/www.do @@ -1,4 +1,5 @@ -rm -f gogost.html/*.html +html=gogost.html +rm -f $html/*.html ${MAKEINFO:-makeinfo} --html \ --set-customization-variable EXTRA_HEAD='' \ --set-customization-variable CSS_LINES="`cat style.css`" \ @@ -8,4 +9,6 @@ ${MAKEINFO:-makeinfo} --html \ --set-customization-variable TOP_NODE_UP_URL=index.html \ --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \ --set-customization-variable OPEN_QUOTE_SYMBOL=\" \ - -o gogost.html www.texi + -o $html www.texi +find $html -type d -exec chmod 755 {} \; +find $html -type f -exec chmod 644 {} \;