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:
Andreas Schulz 1994-04-13 19:54:43 +00:00
parent 04c17e6881
commit b48301f54f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1359
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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