* Use $(AWK) instead of awk.
git-svn-id: svn://svn.zoy.org/elk/trunk@208 55e467fa-43c5-0310-a8a2-de718669efc6
This commit is contained in:
parent
aefd5ebc52
commit
f52f0ed274
|
@ -18,8 +18,8 @@ bitstring.html: bitstring.ms
|
||||||
(cat $?; echo ".Tc") | $(UNROFF) document=bitstring
|
(cat $?; echo ".Tc") | $(UNROFF) document=bitstring
|
||||||
|
|
||||||
index.ms: bitstring.ms index.raw
|
index.ms: bitstring.ms index.raw
|
||||||
sort -f -t'#' +1 -3 +0n index.raw | awk -f ../util/fixindex.awk\
|
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
|
||||||
| awk -f ../util/block.awk >index.ms
|
| $(AWK) -f ../util/block.awk >index.ms
|
||||||
|
|
||||||
index.raw: bitstring.ms
|
index.raw: bitstring.ms
|
||||||
$(TROFF) bitstring.ms 2> index.raw >/dev/null
|
$(TROFF) bitstring.ms 2> index.raw >/dev/null
|
||||||
|
|
|
@ -8,7 +8,7 @@ endif
|
||||||
|
|
||||||
TROFF= groff -ms -t
|
TROFF= groff -ms -t
|
||||||
UNROFF= unroff -ms
|
UNROFF= unroff -ms
|
||||||
MKINDEX= awk -f ../util/mkindex.awk
|
MKINDEX= $(AWK) -f ../util/mkindex.awk
|
||||||
|
|
||||||
cprog.ps: cprog.ms side.ref side.inx
|
cprog.ps: cprog.ms side.ref side.inx
|
||||||
$(MKINDEX) cprog.ms | sed -f side.ref | $(TROFF) 2> /dev/null > $@
|
$(MKINDEX) cprog.ms | sed -f side.ref | $(TROFF) 2> /dev/null > $@
|
||||||
|
@ -18,7 +18,7 @@ side.ref: side
|
||||||
|
|
||||||
side.inx: side
|
side.inx: side
|
||||||
egrep -v '^s' side | sort -f -t'#' +1 -3 +0n | \
|
egrep -v '^s' side | sort -f -t'#' +1 -3 +0n | \
|
||||||
awk -f ../util/fixindex.awk | awk -f ../util/block.awk \
|
$(AWK) -f ../util/fixindex.awk | $(AWK) -f ../util/block.awk \
|
||||||
> side.inx
|
> side.inx
|
||||||
|
|
||||||
side: cprog.ms
|
side: cprog.ms
|
||||||
|
|
|
@ -18,8 +18,8 @@ kernel.html: kernel.ms
|
||||||
(cat $?; echo ".Tc") | $(UNROFF) document=kernel
|
(cat $?; echo ".Tc") | $(UNROFF) document=kernel
|
||||||
|
|
||||||
index.ms: kernel.ms index.raw
|
index.ms: kernel.ms index.raw
|
||||||
sort -f -t'#' +1 -3 +0n index.raw | awk -f ../util/fixindex.awk\
|
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
|
||||||
| awk -f ../util/block.awk >index.ms
|
| $(AWK) -f ../util/block.awk >index.ms
|
||||||
|
|
||||||
index.raw: kernel.ms
|
index.raw: kernel.ms
|
||||||
$(TROFF) kernel.ms 2> index.raw >/dev/null
|
$(TROFF) kernel.ms 2> index.raw >/dev/null
|
||||||
|
|
|
@ -18,8 +18,8 @@ oops.html: oops.ms
|
||||||
(cat $?; echo ".Tc") | $(UNROFF) document=oops
|
(cat $?; echo ".Tc") | $(UNROFF) document=oops
|
||||||
|
|
||||||
index.ms: oops.ms index.raw
|
index.ms: oops.ms index.raw
|
||||||
sort -f -t'#' +1 -3 +0n index.raw | awk -f ../util/fixindex.awk\
|
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
|
||||||
| awk -f ../util/block.awk >index.ms
|
| $(AWK) -f ../util/block.awk >index.ms
|
||||||
|
|
||||||
index.raw: oops.ms
|
index.raw: oops.ms
|
||||||
$(TROFF) oops.ms 2> index.raw >/dev/null
|
$(TROFF) oops.ms 2> index.raw >/dev/null
|
||||||
|
|
|
@ -18,8 +18,8 @@ record.html: record.ms
|
||||||
(cat $?; echo ".Tc") | $(UNROFF) document=record
|
(cat $?; echo ".Tc") | $(UNROFF) document=record
|
||||||
|
|
||||||
index.ms: record.ms index.raw
|
index.ms: record.ms index.raw
|
||||||
sort -f -t'#' +1 -3 +0n index.raw | awk -f ../util/fixindex.awk\
|
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
|
||||||
| awk -f ../util/block.awk >index.ms
|
| $(AWK) -f ../util/block.awk >index.ms
|
||||||
|
|
||||||
index.raw: record.ms
|
index.raw: record.ms
|
||||||
$(TROFF) record.ms 2> index.raw >/dev/null
|
$(TROFF) record.ms 2> index.raw >/dev/null
|
||||||
|
|
|
@ -18,8 +18,8 @@ regexp.html: regexp.ms
|
||||||
(cat $?; echo ".Tc") | $(UNROFF) document=regexp
|
(cat $?; echo ".Tc") | $(UNROFF) document=regexp
|
||||||
|
|
||||||
index.ms: regexp.ms index.raw
|
index.ms: regexp.ms index.raw
|
||||||
sort -f -t'#' +1 -3 +0n index.raw | awk -f ../util/fixindex.awk\
|
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
|
||||||
| awk -f ../util/block.awk >index.ms
|
| $(AWK) -f ../util/block.awk >index.ms
|
||||||
|
|
||||||
index.raw: regexp.ms
|
index.raw: regexp.ms
|
||||||
$(TROFF) regexp.ms 2> index.raw >/dev/null
|
$(TROFF) regexp.ms 2> index.raw >/dev/null
|
||||||
|
|
|
@ -18,8 +18,8 @@ unix.html: unix.ms
|
||||||
(cat $?; echo ".Tc") | $(UNROFF) document=unix
|
(cat $?; echo ".Tc") | $(UNROFF) document=unix
|
||||||
|
|
||||||
index.ms: unix.ms index.raw
|
index.ms: unix.ms index.raw
|
||||||
sort -f -t'#' +1 -3 +0n index.raw | awk -f ../util/fixindex.awk\
|
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
|
||||||
| awk -f ../util/block.awk >index.ms
|
| $(AWK) -f ../util/block.awk >index.ms
|
||||||
|
|
||||||
index.raw: unix.ms
|
index.raw: unix.ms
|
||||||
$(TROFF) unix.ms 2> index.raw >/dev/null
|
$(TROFF) unix.ms 2> index.raw >/dev/null
|
||||||
|
|
|
@ -18,8 +18,8 @@ xlib.html: xlib.ms
|
||||||
(cat $?; echo ".Tc") | $(UNROFF) document=xlib
|
(cat $?; echo ".Tc") | $(UNROFF) document=xlib
|
||||||
|
|
||||||
index.ms: xlib.ms index.raw
|
index.ms: xlib.ms index.raw
|
||||||
sort -f -t'#' +1 -3 +0n index.raw | awk -f ../util/fixindex.awk\
|
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
|
||||||
| awk -f ../util/block.awk >index.ms
|
| $(AWK) -f ../util/block.awk >index.ms
|
||||||
|
|
||||||
index.raw: xlib.ms
|
index.raw: xlib.ms
|
||||||
$(TROFF) xlib.ms 2> index.raw >/dev/null
|
$(TROFF) xlib.ms 2> index.raw >/dev/null
|
||||||
|
|
|
@ -18,8 +18,8 @@ xt.html: xt.ms
|
||||||
(cat $?; echo ".Tc") | $(UNROFF) document=xt
|
(cat $?; echo ".Tc") | $(UNROFF) document=xt
|
||||||
|
|
||||||
index.ms: xt.ms index.raw
|
index.ms: xt.ms index.raw
|
||||||
sort -f -t'#' +1 -3 +0n index.raw | awk -f ../util/fixindex.awk\
|
sort -f -t'#' +1 -3 +0n index.raw | $(AWK) -f ../util/fixindex.awk\
|
||||||
| awk -f ../util/block.awk >index.ms
|
| $(AWK) -f ../util/block.awk >index.ms
|
||||||
|
|
||||||
index.raw: xt.ms
|
index.raw: xt.ms
|
||||||
$(TROFF) xt.ms 2> index.raw >/dev/null
|
$(TROFF) xt.ms 2> index.raw >/dev/null
|
||||||
|
|
Loading…
Reference in New Issue