summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/ncurses/config.mk10
-rw-r--r--lib/ncurses/ncurses/Makefile2
2 files changed, 10 insertions, 2 deletions
diff --git a/lib/ncurses/config.mk b/lib/ncurses/config.mk
index 7bc7d01..d01e17a 100644
--- a/lib/ncurses/config.mk
+++ b/lib/ncurses/config.mk
@@ -42,3 +42,13 @@ TERMINFODIR?= ${SHAREDIR}/misc
ncurses_def.h: MKncurses_def.sh ncurses_defs
AWK=${AWK} sh ${NCURSES_DIR}/include/MKncurses_def.sh \
${NCURSES_DIR}/include/ncurses_defs > ncurses_def.h
+
+# Manual pages filter
+MANFILTER= sed -e 's%@TERMINFO@%${TERMINFODIR}/terminfo%g' \
+ -e 's%@DATADIR@%/usr/share%g' \
+ -e 's%@NCURSES_OSPEED@%${NCURSES_OSPEED}%g' \
+ -e 's%@NCURSES_MAJOR@%${NCURSES_MAJOR}%g' \
+ -e 's%@NCURSES_MINOR@%${NCURSES_MINOR}%g' \
+ -e 's%@NCURSES_PATCH@%${NCURSES_PATCH}%g' \
+ -e 's%@TIC@%tic%g' \
+ -e 's%@INFOCMP@%infocmp%g'
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index e52ce96..b619f51 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -447,8 +447,6 @@ terminfo.5: MKterminfo.sh terminfo.head Caps
${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/man/terminfo.tail >$@
CLEANFILES+= terminfo.5
-MANFILTER= sed -e 's%@TERMINFO@%${TERMINFODIR}/terminfo%g' \
- -e 's%@NCURSES_OSPEED@%${NCURSES_OSPEED}%g'
.PATH: ${NCURSES_DIR}/man
MAN= \
OpenPOWER on IntegriCloud