* Fixed a couple of $(srcdir) / $(builddir) mistakes in the doc rules.

git-svn-id: svn://svn.zoy.org/elk/trunk@218 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
sam
2003-09-28 11:15:47 +00:00
parent 8192139a2b
commit d2ec72e374
11 changed files with 135 additions and 124 deletions
+14 -13
View File
@@ -6,25 +6,26 @@ doc_DATA = bitstring.ps
docdir = $(datadir)/doc/@PACKAGE@/ps
endif
MANUAL= bitstring
TROFF= groff -ms -t
UNROFF= unroff -ms
MANUAL = $(srcdir)/bitstring.ms
TROFF = groff -ms -t
UNROFF = unroff -ms
bitstring.ps: bitstring.ms index.ms
(cat bitstring.ms ../util/tmac.index index.ms; echo ".Tc")\
bitstring.ps: $(MANUAL) index.ms
(cat $(MANUAL) $(srcdir)/../util/tmac.index index.ms; echo ".Tc") \
| $(TROFF) 2> /dev/null > bitstring.ps
bitstring.html: bitstring.ms
bitstring.html: $(MANUAL)
(cat $?; echo ".Tc") | $(UNROFF) document=bitstring
index.ms: bitstring.ms index.raw
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
| $(AWK) -f ../util/block.awk >index.ms
index.ms: $(MANUAL) index.raw
sort -f -t'#' +1 -3 +0n index.raw \
| $(AWK) -f $(srcdir)/../util/fixindex.awk \
| $(AWK) -f $(srcdir)/../util/block.awk >index.ms
index.raw: bitstring.ms
$(TROFF) bitstring.ms 2> index.raw >/dev/null
index.raw: $(MANUAL)
$(TROFF) $(MANUAL) 2> index.raw >/dev/null
check:
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] bitstring.ms |\
grep -v "Empty command"
checknr -c.Ul.Pr.Sy.Va.Sh.Ix.Id.Ch -a.Ss.Se.[[.]] $(MANUAL) \
| grep -v "Empty command"