]>
git.ipfire.org Git - thirdparty/bash.git/blob - doc/mkinstall
3 # mkinstall - make the INSTALL file from the `Installing Bash' node of the
8 SUBNODE
="Basic Installation"
15 trap 'rm -f $TMPOUT $TMPINFO $OUT; trap '' 0; exit 1' 1 2 3 6 15
16 trap 'rm -f $TMPOUT $TMPINFO' 0
18 # create an info file without paragraph indentation
19 makeinfo
--no-split --no-number-sections -I..
/lib
/readline
/doc
--paragraph-indent 0 -o $TMPINFO $TEXI
21 # write out the text from the `Installing Bash' node to INSTALL.tmp
22 info
--file $TMPINFO --node "$NODE" --subnodes --output $TMPOUT
24 # remove the info traversal information and the initial menu, and squeeze
25 # out multiple consecutive blank lines like `cat -s'
26 awk 'BEGIN { printline = 0; newlines = 0; }
28 /^File: '$TMPINFO'/ { next; }
30 /^'"$SUBNODE"'/ { printline = 1; }
32 /^$/ { if (printline) newlines = 1; next; }
34 /$/ { if (printline) {