diff options
author | wlemb <wlemb> | 2000-11-22 22:11:16 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2000-11-22 22:11:16 +0000 |
commit | 1046f4b81acf3cf2b917b4409c373fe6278fc6be (patch) | |
tree | 01956c52cbed4bd0bc22676184739124e3da7292 /Makefile.in | |
parent | 84b1d88c8adc19b3e308483bbc614620bfac4f6f (diff) | |
download | groff-1046f4b81acf3cf2b917b4409c373fe6278fc6be.tar.gz |
Use safer path (except for config files) if -U isn't specified. Add
a special macro path (without home and current directory) for config
files. Add home directory to unsafe path for consistency. Don't
include the home directory in the font path.
* src/lib/libgroff/macropath.cc: Add `config_macro_path', change
`macro_path'.
* src/include/macropath.h: Add `config_macrp_path'.
* src/lib/libgroff/fontfile.cc: Fix font path.
* src/roff/troff/input.cc (process_startup_file): Use
`config_macro_path'.
(main): Select unsafe path if -U is given.
* src/preproc/eqn/main.cc (main): Fixing search path for
configuration file.
* src/preproc/eqn/eqn.man: Updated.
* src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
Updated.
* src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
src/devices/grotty/grotty.man: Updated.
* Makefile.in: Fix comments.
src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index e43b0686..eb31a15a 100644 --- a/Makefile.in +++ b/Makefile.in @@ -98,7 +98,6 @@ datasubdir=$(dataprogramdir)/$(version)$(revision) fontdir=$(datasubdir)/font # fontpath says where to look for dev*/*. -# $HOME will be always prepended. fontpath=$(fontdir):/usr/lib/font # tmacdir says where to install macros. @@ -111,8 +110,10 @@ systemtmacdir=$(libprogramdir)/site-tmac localtmacdir=$(dataprogramdir)/site-tmac # tmacpath says where to look for macro files. -# The current directory will always be prepended except for searching and -# scanning troffrc and troffrc-end which prepend the home directory instead. +# The current directory will be prepended in unsafe mode only; the home +# directory will be always added. +# `troffrc' and `troffrc-end' (and `eqnrc' are searched neither in the +# current nor in the home directory. tmacpath=$(systemtmacdir):$(localtmacdir):$(tmacdir) # sys_tmac_prefix is prefix (if any) for system macro packages |