2003-09-11 04:21:49 -04:00
|
|
|
EXTRA_DIST = record.ms
|
2003-09-15 04:52:09 -04:00
|
|
|
CLEANFILES = index.raw index.ms record.ps record.html
|
2003-09-11 04:21:49 -04:00
|
|
|
|
|
|
|
if HAVE_GROFF
|
|
|
|
doc_DATA = record.ps
|
2003-09-11 04:47:10 -04:00
|
|
|
docdir = $(datadir)/doc/@PACKAGE@/ps
|
2003-09-11 04:21:49 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
MANUAL= record
|
|
|
|
TROFF= groff -ms -t
|
|
|
|
UNROFF= unroff -ms
|
|
|
|
|
|
|
|
record.ps: record.ms index.ms
|
|
|
|
(cat record.ms ../util/tmac.index index.ms; echo ".Tc")\
|
|
|
|
| $(TROFF) 2> /dev/null > record.ps
|
|
|
|
|
|
|
|
record.html: record.ms
|
|
|
|
(cat $?; echo ".Tc") | $(UNROFF) document=record
|
|
|
|
|
|
|
|
index.ms: record.ms index.raw
|
2003-09-27 08:07:13 -04:00
|
|
|
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
|
|
|
|
| $(AWK) -f ../util/block.awk >index.ms
|
2003-09-11 04:21:49 -04:00
|
|
|
|
|
|
|
index.raw: record.ms
|
|
|
|
$(TROFF) record.ms 2> index.raw >/dev/null
|
|
|
|
|
|
|
|
check:
|
|
|
|
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] record.ms |\
|
|
|
|
grep -v "Empty command"
|
|
|
|
|