#!/bin/sh -e
+html=spec.html
makeinfo --html \
--set-customization-variable SECTION_NAME_IN_TITLE=1 \
--set-customization-variable TREE_TRANSFORMATIONS=complete_tree_nodes_menus \
--set-customization-variable NO_CSS=1 \
--set-customization-variable FORMAT_MENU=menu \
--set-customization-variable DATE_IN_HEADER=1 \
- --output spec.html index.texi
+ --output $html index.texi
+find $html -type d -exec chmod 755 {} +
+find $html -type f -exec chmod 644 {} +