1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
|
From: Hubert Chathi <uhoreg@debian.org>
Date: Sun, 22 Jan 2023 20:52:34 +0100
Subject: look for noweb'ss troff macros in the correct directory
---
src/shell/noroff | 4 ++--
src/shell/roff.nw | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/shell/noroff b/src/shell/noroff
index fbe2b2a..6afeea3 100644
--- a/src/shell/noroff
+++ b/src/shell/noroff
@@ -4,7 +4,7 @@
ROFF="groff"
AWK=nawk
-macrodir=|LIBDIR|
+macrodir=/usr/share/groff/tmac
LIB=|LIBDIR|
opts=
@@ -36,7 +36,7 @@ fi
base="`basename $1 | sed '/\./s/\.[^.]*$//'`"
tagsfile="$base.nwt"
-(echo ".so $macrodir/tmac.w"
+(echo ".so $macrodir/noweb.tmac"
if [ -r "$tagsfile" ]; then
tagstemp=$($LIB/nwmktemp) || { echo "$0: Cannot create temporary file" >&2; exit 1; }
cp $tagsfile $tagstemp
diff --git a/src/shell/roff.nw b/src/shell/roff.nw
index 24ddee6..62171ad 100644
--- a/src/shell/roff.nw
+++ b/src/shell/roff.nw
@@ -632,7 +632,7 @@ The location of [[macrodir]] is likely to require customization.
ROFF="groff"
AWK=nawk
-macrodir=|LIBDIR|
+macrodir=/usr/share/groff/tmac
LIB=|LIBDIR|
opts=
@@ -664,7 +664,7 @@ fi
base="`basename $1 | sed '/\./s/\.[^.]*$//'`"
tagsfile="$base.nwt"
-(echo ".so $macrodir/tmac.w"
+(echo ".so $macrodir/noweb.tmac"
if [ -r "$tagsfile" ]; then
tagstemp=$($LIB/nwmktemp) || { echo "$0: Cannot create temporary file" >&2; exit 1; }
cp $tagsfile $tagstemp
|