Changed the Makefiles for catman and makewhatis that the output from the
sed goes into an obj dir, if it exists, instead of the src dir.
This commit is contained in:
parent
04c17e6881
commit
b48301f54f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1359
@ -3,7 +3,7 @@ CLEANFILES= catman
|
||||
|
||||
beforeinstall: catman
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||
${.CURDIR}/catman ${DESTDIR}${BINDIR}
|
||||
catman ${DESTDIR}${BINDIR}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
@ -11,5 +11,5 @@ catman: catman.sh
|
||||
sed -e 's,%compress%,${compress},' \
|
||||
-e 's,%compext%,${compext},' \
|
||||
-e 's,%zcat%,${zcat},' \
|
||||
${.CURDIR}/catman.sh > ${.CURDIR}/catman
|
||||
${.CURDIR}/catman.sh > catman
|
||||
|
||||
|
@ -5,7 +5,7 @@ CLEANFILES= makewhatis
|
||||
|
||||
beforeinstall: makewhatis
|
||||
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||
${.CURDIR}/makewhatis ${DESTDIR}${BINDIR}
|
||||
makewhatis ${DESTDIR}${BINDIR}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
@ -13,5 +13,5 @@ makewhatis: makewhatis.sh
|
||||
sed -e 's/%sections%/ "1", "n", "l", "6", "8", "2", "3", "4", "5", "7", "p", "o", NULL/' \
|
||||
-e 's,%zcat%,${zcat},' \
|
||||
-e 's,%compext%,${compext},' \
|
||||
${.CURDIR}/makewhatis.sh > ${.CURDIR}/makewhatis
|
||||
${.CURDIR}/makewhatis.sh > makewhatis
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user