1 # This is the Makefile for Elvis' "doc" directory. It makes use of a
2 # troff-like formatter called mroff. Since you probably don't have mroff,
3 # you'll need to edit this Makefile before you can fully use it. It can
4 # also use nroff, though, so you should be able to get something out of it.
6 # make Use nroff to create an ASCII version of the manual.
7 # make foo.doc Use nroff to create an ASCII version of foo.man or foo.ms
8 # make manual Use MROFF to print a typeset manual on a laser printer
9 # make foo.1200 Use MROFF to print a typeset version of foo.man or foo.ms
10 # make foo.100 Use MROFF to print a draft-quality version of foo.man or foo.ms
11 # make foo.more Use MROFF to preview foo.man or foo.more on your terminal
14 ###############################################################################
17 MAN= ctags.man elvis.man elvprsv.man elvrec.man fmt.man ref.man
18 MS= title.ms index.ms intro.ms visual.ms ex.ms regexp.ms options.ms\
19 cutbufs.ms differ.ms internal.ms cflags.ms termcap.ms environ.ms\
20 versions.ms question.ms
21 ASC= title.doc index.doc intro.doc visual.doc ex.doc regexp.doc options.doc\
22 cutbufs.doc differ.doc internal.doc cflags.doc termcap.doc environ.doc\
23 versions.doc question.doc\
24 ctags.doc elvis.doc elvprsv.doc elvrec.doc fmt.doc ref.doc
25 MANUAL= title.1200 index.1200 intro.1200 visual.1200 ex.1200 regexp.1200 options.1200\
26 cutbufs.1200 differ.1200 internal.1200 cflags.1200 termcap.1200 environ.1200\
28 ctags.1200 elvis.1200 elvprsv.1200 elvrec.1200 fmt.1200 ref.1200
33 ###############################################################################
36 .SUFFIXES: .tmp .100 .1200 .more .doc .man .ms .vga .vgas
39 $(TROFF) -ms $(VER) $< >tmp
45 $(TROFF) -ms $(VER) $< | draft | more
48 $(TROFF) -man $< | draft | more
51 $(TROFF) -ms $(VER) $< | hp2 1200 | lp -og $(PRINTER)
54 $(TROFF) -man $< | hp2 1200 | lp -og $(PRINTER)
57 $(TROFF) -ms $(VER) $< | hp2 100 | lp -og $(PRINTER)
60 $(TROFF) -man $< | hp2 100 | lp -og $(PRINTER)
63 $(NROFF) -ms $(VER) $< >$@
69 $(TROFF) -ms $(VER) $< >/tmp/foo
74 $(TROFF) -ms $(VER) $< >/tmp/foo
78 #############################################################################