Use a MANFILTER to patch the man pages to point to the right path.
Noted by: phk
This commit is contained in:
parent
ede24df2f4
commit
16b2454cdb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128242
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user