summaryrefslogtreecommitdiff
path: root/Makefile.sub
diff options
context:
space:
mode:
authorwlemb <wlemb>2004-04-07 17:45:59 +0000
committerwlemb <wlemb>2004-04-07 17:45:59 +0000
commit8ceee8e98c76d3ba7c8fffa753ea6cf9570d4f10 (patch)
treec5d12743d6e6e3c1afdb641115c48db7de946c02 /Makefile.sub
parent5791884bd22828a08737aa34fb3924726b8209ba (diff)
downloadgroff-8ceee8e98c76d3ba7c8fffa753ea6cf9570d4f10.tar.gz
Make scripts like nroff.sh and neqn.sh portable across various
(Unix-like) shell implementations from Cygwin, MSYS, etc., which use non-POSIX path separators. The idea is to extend those scripts to decide at run-time (of the script) which path separator to use. * arch/misc/Makefile.sub: New file. * arch/misc/shdeps.sh: New file, generating OS dependency fixups. This script handles @GROFF_BIN_PATH_SETUP@, replacing it with a proper definition of the variable `GROFF_RUNTIME'. * Makefile.in (SH_DEPS_SED_SCRIPT): New variable. (MDEFINES): Add SH_DEPS_SED_SCRIPT. (PROGDEPDIRS): New variable. `FORCE' it. (PROGDIRS): Add PROGDEPDIRS. * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT. Don't substitute @SEP@ and @BINDIR@. * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@. (PATH): Use GROFF_RUNTIME. * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT. Don't substitute @SEP@ and @BINDIR@. * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@. (PATH): Use GROFF_RUNTIME.
Diffstat (limited to 'Makefile.sub')
0 files changed, 0 insertions, 0 deletions