From: Sergey Matveev Date: Sat, 25 Jul 2020 09:54:44 +0000 (+0300) Subject: Использовать redo вместо Makefile X-Git-Url: http://www.git.cypherpunks.ru/?p=gost-www.git;a=commitdiff_plain;h=037fc7fb6e934cf2e4ba3d95d764bf2d6be7437d Использовать redo вместо Makefile --- diff --git a/Makefile b/Makefile deleted file mode 100644 index 3dbc257..0000000 --- a/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -all: gost.html - -MAKEINFO ?= makeinfo - -CSS != cat style.css - -.PHONY: gost.html - -gost.html: - rm -f gost.html/*.html - $(MAKEINFO) --html \ - --set-customization-variable EXTRA_HEAD='' \ - --set-customization-variable CSS_LINES='$(CSS)' \ - --set-customization-variable SHOW_TITLE=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 gost.html index.texi diff --git a/all.do b/all.do new file mode 100644 index 0000000..887088a --- /dev/null +++ b/all.do @@ -0,0 +1,13 @@ +html=gost.html +rm -f $html/*.html +${MAKEINFO:-makeinfo} --html \ + --set-customization-variable EXTRA_HEAD='' \ + --set-customization-variable CSS_LINES="`cat style.css`" \ + --set-customization-variable SHOW_TITLE=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 $html index.texi +find $html -type d -exec chmod 755 {} \; +find $html -type f -exec chmod 644 {} \; diff --git a/style.css b/style.css index 0dec0f2..17f3b71 100644 --- a/style.css +++ b/style.css @@ -7,5 +7,5 @@ body { h1, h2, h3, h4 { text-align: center } h1, h2, h3, h4, strong { color: #900090 } pre { background-color: #CCCCCC } -table, th, td { border: 1px solid black } +table, th, td { border: 1px solid black ; border-collapse: collapse } -->