]> Cypherpunks.ru repositories - gost-www.git/commitdiff
Использовать redo вместо Makefile
authorSergey Matveev <stargrave@stargrave.org>
Sat, 25 Jul 2020 09:54:44 +0000 (12:54 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sat, 25 Jul 2020 09:54:49 +0000 (12:54 +0300)
Makefile [deleted file]
all.do [new file with mode: 0644]
style.css

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
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='<link rev="made" href="mailto:webmaster@cypherpunks.ru">' \
-               --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 (file)
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='<link rev="made" href="mailto:webmaster@cypherpunks.ru">' \
+    --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 {} \;
index 0dec0f2156face811f2b44954c850c6327a7fce9..17f3b71cb358b255b2328e68226338fff4186fed 100644 (file)
--- 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 }
 --></style>