diff options
author | wlemb <wlemb> | 2000-10-22 19:30:15 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-10-22 19:30:15 +0000 |
commit | ca467670909e8af66bfdad7600fadec77486ddfd (patch) | |
tree | b15177a64f76c863f380c21da40d5f1060b5bd34 /Makefile.comm | |
parent | faf6c7cd34b4a7823f7b61cad13f70877bf4a315 (diff) | |
download | groff-ca467670909e8af66bfdad7600fadec77486ddfd.tar.gz |
Implement $GROFF_BIN_PATH environment variable (which defaults to
$bindir) used for child programs of groff and similar wrappers.
* gendefs.sh: Improve documentation.
* Makefile.comm (,man.n), src/include/Makefile.sub (defs.h),
src/preproc/eqn/Makefile.sub (neqn),
src/roff/nroff/Makefile.sub (nroff): Add $(bindir).
* src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement
$GROFF_BIN_PATH.
* src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and
$GROFF_PATH__ (the latter for communication with troff).
* src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if
set.
* src/roff/nroff/nroff.man, src/roff/groff/groff.man,
doc/groff.texinfo: Document it.
Diffstat (limited to 'Makefile.comm')
-rw-r--r-- | Makefile.comm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.comm b/Makefile.comm index b6cb4eb6..3240f1dd 100644 --- a/Makefile.comm +++ b/Makefile.comm @@ -119,7 +119,8 @@ revision=`sed -e 's/^0$$//' -e 's/^[1-9].*$$/.&/' $(top_srcdir)/REVISION` .man.n: @echo Making $@ from $< @-rm -f $@ - @sed -e "s|@FONTDIR@|$(fontdir)|g" \ + @sed -e "s|@BINDIR@|$(bindir)|g" \ + -e "s|@FONTDIR@|$(fontdir)|g" \ -e "s|@FONTPATH@|$(fontpath)|g" \ -e "s|@MACRODIR@|$(tmacdir)|g" \ -e "s|@MACROPATH@|$(tmacpath)|g" \ |