1 # $NetBSD: Makefile,v 1.5 2008/10/19 22:05:20 apb Exp $
3 # Makefile for the tp documents:
4 # design: TP design/source guide
5 # appendix_a: index of tp kernel routines & macros by macro/routine name
6 # appendix_b: index of tp kernel routines & macros by file name
10 SRCS
= ..
/..
/sys
/netargo
/tp_
*.c ..
/..
/sys
/netargo
/tp_
*.h ..
/..
/sys
/netargo
/tp
*.trans
14 # Print via speedy for cycles sake...
15 # (assumes postscript printer...)
18 @echo printer is
$(PRINTER
)
20 format
-P
$(PRINTER
) -t program.nr | rsh speedy psdit \| lpr
-P
$(PRINTER
)
23 @echo printer is
$(PRINTER
)
25 format
-P
$(PRINTER
) -t parts.nr | rsh speedy psdit \| lpr
-P
$(PRINTER
)
26 # format -P$(PRINTER) -t parts.nr > /dev/null
27 # soelim parts.nr | grn -P$(PRINTER) |\
28 # $(TROFF) -Tpsc | rsh speedy psdit \> /tmp/test
29 # soelim parts.nr | tbl > /tmp/parts.nr
32 /bin
/rm -f core junk
* a.out
*.o spell_errs made
38 /usr
/ucb
/soelim program.nr |
/usr
/bin
/spell
-d hlista
> spell_errs
41 cat spell_errs | spellin
/usr
/dict
/hlista
> hlista
43 all: program appendix_a appendix_b appendix_c
47 format
-P
$(PRINTER
) appendix_c.nr
48 tbl ..
/man
/man4
/table1.src
> ..
/man
/man4
/table1.nr
49 tbl ..
/man
/man4
/table2.src
> ..
/man
/man4
/table2.nr
50 tbl ..
/man
/man4
/table3.src
> ..
/man
/man4
/table3.nr
51 soelim ..
/man
/man4
/tp
.4p.src
> ..
/man
/man4
/tp
.4p
52 ditroff
-man
-P
$(PRINTER
) ..
/man
/man1
/xebec
.1
53 ditroff
-man
-P
$(PRINTER
) ..
/man
/man2
/sendv
.2
54 ditroff
-man
-P
$(PRINTER
) ..
/man
/man2
/recvv
.2
55 ditroff
-man
-P
$(PRINTER
) ..
/man
/man3
/libtp
.3
56 ditroff
-man
-P
$(PRINTER
) ..
/man
/man4
/tp
.4p
57 ditroff
-man
-P
$(PRINTER
) ..
/man
/man8
/tppt
.8
58 ditroff
-man
-P
$(PRINTER
) ..
/man
/man8
/tpdebug
.8
59 ditroff
-man
-P
$(PRINTER
) ..
/man
/man8
/tpstat
.8
63 |
${TOOL_AWK} '{printf("%s\t%s\t%s\n", $$1, $$3, $$2)}' \
64 |
${TOOL_SED} -e
's-../../sys/netargo/--' > index_by_func.nr
65 format
-P
$(PRINTER
) appendix_a.nr
69 |
${TOOL_AWK} '{printf("%s\t%s\t%s\n", $$3, $$1, $$2)}' \
70 |
${TOOL_SED} -e
's-../../sys/netargo/--' \
77 format
-P
$(PRINTER
) appendix_b.nr