Subject: Re: toolchain/18020, was CVS commit: basesrc/libexec/makewhatis
To: None <junyoung@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: source-changes
Date: 09/04/2002 09:11:09
In article <20020904063959.17A2EB42C@cvs.netbsd.org>,
junyoung@netbsd.org (Bang Jun-Young) writes:
>
> Module Name: basesrc
> Committed By: junyoung
> Date: Wed Sep 4 06:39:59 UTC 2002
>
> Modified Files:
> basesrc/libexec/makewhatis: Makefile
>
> Log Message:
> Fix a problem that 'make obj' doesn't work within tools/makewhatis.
> cvs rdiff -r1.12 -r1.13 basesrc/libexec/makewhatis/Makefile
But that breaks the "normal" build. Rather, this seems to work for both
tools and in-tree:
Index: Makefile
===================================================================
RCS file: /cvsroot/basesrc/libexec/makewhatis/Makefile,v
retrieving revision 1.13
diff -c -r1.13 Makefile
*** Makefile 2002/09/04 06:39:58 1.13
--- Makefile 2002/09/04 14:06:35
***************
*** 1,5 ****
--- 1,9 ----
# $NetBSD: Makefile,v 1.13 2002/09/04 06:39:58 junyoung Exp $
+ .ifndef HOSTPROG
+ .include <bsd.obj.mk>
+ .endif
+
PROG= makewhatis
SRCS= makewhatis.c config.c
.PATH: ${NETBSDSRCDIR}/usr.bin/man
--
Frederick