diff options
author | Bertrand Garrigues <bertrand.garrigues@laposte.net> | 2014-09-15 00:25:22 +0200 |
---|---|---|
committer | Bertrand Garrigues <bertrand.garrigues@laposte.net> | 2015-01-27 23:13:14 +0100 |
commit | 9752beb6ad2429124b86c4d36dae1a501720d018 (patch) | |
tree | 1d3ac77099568692858131441b59358e4e8fee9f /test-groff.in | |
parent | ad1d4295e7bfe4108e6891c897bf6845f36d6455 (diff) | |
download | groff-git-9752beb6ad2429124b86c4d36dae1a501720d018.tar.gz |
Detect if built-in variable RM is supported by make.
Generate test-groff script.
Diffstat (limited to 'test-groff.in')
-rw-r--r-- | test-groff.in | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/test-groff.in b/test-groff.in index bf24c607a..eb13e01b7 100644 --- a/test-groff.in +++ b/test-groff.in @@ -20,35 +20,17 @@ # This script runs groff without requiring that it be installed. SEP='@PATH_SEPARATOR@' -builddir=@abs_top_builddir@/src +builddir=@abs_top_builddir@ srcdir=@abs_top_srcdir@ -GROFF_BIN_PATH=\ -$builddir/roff/groff$SEP\ -$builddir/roff/troff$SEP\ -$builddir/preproc/preconv$SEP\ -$builddir/preproc/pic$SEP\ -$builddir/preproc/eqn$SEP\ -$builddir/preproc/tbl$SEP\ -$builddir/preproc/grn$SEP\ -$builddir/preproc/refer$SEP\ -$builddir/preproc/soelim$SEP\ -$builddir/preproc/html$SEP\ -$builddir/devices/grops$SEP\ -$builddir/devices/grodvi$SEP\ -$builddir/devices/grotty$SEP\ -$builddir/devices/grolj4$SEP\ -$builddir/devices/grolbp$SEP\ -$builddir/devices/grohtml$SEP\ -$builddir/devices/gropdf$SEP\ -$builddir/devices/xditview +GROFF_BIN_PATH=$builddir XENVIRONMENT=$srcdir/src/devices/xditview/GXditview.ad export XENVIRONMENT GROFF_COMMAND_PREFIX= -GROFF_FONT_PATH=$builddir/../font$SEP$srcdir/font -GROFF_TMAC_PATH=$srcdir/tmac +GROFF_FONT_PATH=$builddir/font$SEP$srcdir/font +GROFF_TMAC_PATH=$srcdir/tmac$SEP$builddir/tmac$SEP$srcdir/contrib/mom$SEP$builddir/contrib/mom export GROFF_BIN_PATH GROFF_COMMAND_PREFIX GROFF_FONT_PATH GROFF_TMAC_PATH -exec $builddir/roff/groff/groff ${1+"$@"} +exec $builddir/groff ${1+"$@"} |