From b48301f54fcd1b3173160354c7aa21ff6e08853a Mon Sep 17 00:00:00 2001 From: Andreas Schulz Date: Wed, 13 Apr 1994 19:54:43 +0000 Subject: [PATCH] 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. --- gnu/usr.bin/man/catman/Makefile | 4 ++-- gnu/usr.bin/man/makewhatis/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/usr.bin/man/catman/Makefile b/gnu/usr.bin/man/catman/Makefile index e6d32a040fdf..f4bd03f7baec 100644 --- a/gnu/usr.bin/man/catman/Makefile +++ b/gnu/usr.bin/man/catman/Makefile @@ -3,7 +3,7 @@ CLEANFILES= catman beforeinstall: catman install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/catman ${DESTDIR}${BINDIR} + catman ${DESTDIR}${BINDIR} .include @@ -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 diff --git a/gnu/usr.bin/man/makewhatis/Makefile b/gnu/usr.bin/man/makewhatis/Makefile index 132425581d02..bd14975c490a 100644 --- a/gnu/usr.bin/man/makewhatis/Makefile +++ b/gnu/usr.bin/man/makewhatis/Makefile @@ -5,7 +5,7 @@ CLEANFILES= makewhatis beforeinstall: makewhatis install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \ - ${.CURDIR}/makewhatis ${DESTDIR}${BINDIR} + makewhatis ${DESTDIR}${BINDIR} .include @@ -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