mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-01 08:27:59 +00:00
Fixed manpage building.
This commit is contained in:
parent
4081cc88c9
commit
b132656a0f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69605
@ -1,3 +1,5 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= manpath
|
||||
SRCS= manpath.c
|
||||
MAN1= manpath.1
|
||||
@ -12,9 +14,7 @@ MANDEPEND+= ${MAN1}
|
||||
|
||||
${MAN1}: ${.CURDIR}/manpath.man
|
||||
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
|
||||
sed -e 's,%libdir%,${libdir},' -e 's,%bindir%,${bindir},' \
|
||||
-e 's,%pager%,${pager},' -e 's,%troff%,${troff},' \
|
||||
-e 's,%manpath_config_file%,${manpath_config_file},' \
|
||||
sed -e 's,%manpath_config_file%,/etc/manpath.config,' \
|
||||
${.CURDIR}/manpath.man > ${MAN1}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user