Use a MANFILTER to patch the man pages to point to the right path.

Noted by: phk
This commit is contained in:
Hartmut Brandt 2004-04-14 16:31:54 +00:00
parent ede24df2f4
commit 16b2454cdb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128242
3 changed files with 12 additions and 0 deletions

View File

@ -22,4 +22,8 @@ FILESGROUPS+= BMIBS
.endif
BMIBSDIR= ${SHAREDIR}/snmp/mibs
MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
-e 's%@DEFPATH@%${DEFSDIR}/%g' \
-e 's%@MIBSPATH@%${BMIBSDIR}/%g'
.include "../Makefile.inc"

View File

@ -36,4 +36,8 @@ oid.h: tree.def
tree.c tree.h: tree.def
gensnmptree -l < ${.ALLSRC}
MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
-e 's%@DEFPATH@%${DEFSDIR}/%g' \
-e 's%@MIBSPATH@%${BMIBSDIR}/%g'
.include <bsd.prog.mk>

View File

@ -22,4 +22,8 @@ FILESGROUPS+= BMIBS
.endif
BMIBSDIR= ${SHAREDIR}/snmp/mibs
MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
-e 's%@DEFPATH@%${DEFSDIR}/%g' \
-e 's%@MIBSPATH@%${BMIBSDIR}/%g'
.include "../Makefile.inc"