From 8346ec123729784e9c83a6457091a84a7afff1e0 Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Thu, 8 Jul 2021 20:57:40 +0300 Subject: [PATCH] Texinfo 6.8 compatibility --- doc/goredo.info.do | 2 ++ doc/index.texi | 2 +- doc/www.do | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 doc/www.do diff --git a/doc/goredo.info.do b/doc/goredo.info.do index a926349..469a47b 100644 --- a/doc/goredo.info.do +++ b/doc/goredo.info.do @@ -1,6 +1,8 @@ redo-ifchange *.texi ../VERSION ${MAKEINFO:-makeinfo} \ -D "VERSION `cat ../VERSION`" \ + --set-customization-variable SECTION_NAME_IN_TITLE=1 \ + --set-customization-variable TREE_TRANSFORMATIONS=complete_tree_nodes_menus \ --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \ --set-customization-variable OPEN_QUOTE_SYMBOL=\" \ --output $3 index.texi diff --git a/doc/index.texi b/doc/index.texi index 131c301..2a81af4 100644 --- a/doc/index.texi +++ b/doc/index.texi @@ -7,7 +7,7 @@ Copyright @copyright{} 2020-2021 @email{stargrave@@stargrave.org, Sergey Matveev @end copying @node Top -@top +@top goredo Go implementation of @url{http://cr.yp.to/redo.html, djb's redo}, Makefile replacement that @url{https://suckless.org/philosophy/, sucks less}. diff --git a/doc/www.do b/doc/www.do new file mode 100644 index 0000000..ca97c6c --- /dev/null +++ b/doc/www.do @@ -0,0 +1,17 @@ +redo-ifchange *.texi ../VERSION +html=goredo.html +rm -f $html/*.html +${MAKEINFO:=makeinfo} --html \ + -D "VERSION `cat ../VERSION`" \ + --css-include style.css \ + --set-customization-variable SECTION_NAME_IN_TITLE=1 \ + --set-customization-variable TREE_TRANSFORMATIONS=complete_tree_nodes_menus \ + --set-customization-variable FORMAT_MENU=menu \ + --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 {} \; -- 2.44.0