📄 pi.makefile
字号:
# @(#)PI.Makefile 1.1 92/07/30 SMI;## Makes a permuted index for the UNIX Reference Manuals#FORMATTER = /usr/local/iroffTOCX = tocx1 tocx2 tocx3 tocx4 tocx5 tocx6 tocx7 tocx8TOC = toc1 toc2 toc3 toc4 toc5 toc6 toc7 toc8permuted.index: ptxx ${TOC} $(FORMATTER) -t ptx.in ptxx > permuted.index.dit## Get down to brass tacks and make the permuted index#ptxx: /tmp/ptx.input break ignore @echo "Expect the ptx command to have an exit status of 1" -ptx -r -t -b break -f -w 108 -i ignore /tmp/ptx.input ptxx rm /tmp/ptx.input## make.ptx.input takes the output of gettocx and changes all the# section letters to upper case#/tmp/ptx.input: ${TOCX} cshcmd make.ptx.input ${TOCX} cshcmd > /tmp/ptx.input## gettocx creates files containing lines like:# name(section): description#tocx1: gettocx 1tocx2: gettocx 2tocx3: gettocx 3tocx4: gettocx 4tocx5: gettocx 5tocx6: gettocx 6tocx7: gettocx 7tocx8: gettocx 8## make.toc takes the output of gettocx and makes line like:# .xx "name" "description"toc1: tocx1 make.toc 1toc2: tocx2 make.toc 2toc3: tocx3 make.toc 3toc4: tocx4 make.toc 4toc5: tocx5 make.toc 5toc6: tocx6 make.toc 6toc7: tocx7 make.toc 7toc8: tocx8 make.toc 8clean: rm -f ${TOCX} ${TOC} permuted.index.dit
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -