summaryrefslogtreecommitdiff
path: root/src/roff/nroff/Makefile.sub
diff options
context:
space:
mode:
Diffstat (limited to 'src/roff/nroff/Makefile.sub')
-rw-r--r--src/roff/nroff/Makefile.sub3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/roff/nroff/Makefile.sub b/src/roff/nroff/Makefile.sub
index 47a1878b..8862383b 100644
--- a/src/roff/nroff/Makefile.sub
+++ b/src/roff/nroff/Makefile.sub
@@ -6,7 +6,8 @@ all: nroff
nroff: nroff.sh
rm -f $@
- sed -e $(SH_SCRIPT_SED_CMD) $(srcdir)/nroff.sh >$@
+ sed -e 's|@BINDIR@|$(bindir)|g' \
+ -e $(SH_SCRIPT_SED_CMD) $(srcdir)/nroff.sh >$@
chmod +x $@
install_data: nroff