From 1bff6dcf87000db7d37c56de578becfd397bdbd5 Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 15 Feb 1999 02:20:55 +0000 Subject: [PATCH] Work with objdirs. --- usr.bin/top/Make.desc.X | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/top/Make.desc.X b/usr.bin/top/Make.desc.X index 6fcb79e2778a..3bea048534a0 100644 --- a/usr.bin/top/Make.desc.X +++ b/usr.bin/top/Make.desc.X @@ -16,9 +16,9 @@ DESCS=\ .SUFFIXES: .desc .c.desc: - sed -e '/^$$/,$$d' -e 's,^[/ *]*,,' $< > $@ + cd ${.CURDIR} ; sed -e '/^$$/,$$d' -e 's,^[/ *]*,,' $< > $@ all: SYNOPSIS SYNOPSIS: $(DESCS) - grep SYNOPSIS: $(DESCS) | sed -e 's@^machine/m_@@' -e 's@.desc:.[^:]*: *@:@' >SYNOPSIS + cd ${.CURDIR} ; grep SYNOPSIS: $(DESCS) | sed -e 's@^machine/m_@@' -e 's@.desc:.[^:]*: *@:@' >SYNOPSIS