From 98f8b098aa8d6b7a5a29d99c2c9f8a7f6a87e126 Mon Sep 17 00:00:00 2001 From: hannken Date: Wed, 22 Oct 2008 17:54:23 +0000 Subject: [PATCH] Process FILES section only at "install" time. TOOL_AWK is not yet available for earlier make targets. Ok: Alan Barrett --- gnu/usr.bin/groff/src/utils/indxbib/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/usr.bin/groff/src/utils/indxbib/Makefile b/gnu/usr.bin/groff/src/utils/indxbib/Makefile index 1bbc1a6f7816..1d239ce03ed0 100644 --- a/gnu/usr.bin/groff/src/utils/indxbib/Makefile +++ b/gnu/usr.bin/groff/src/utils/indxbib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2008/10/19 22:05:20 apb Exp $ +# $NetBSD: Makefile,v 1.6 2008/10/22 17:54:23 hannken Exp $ # $FreeBSD: src/gnu/usr.bin/groff/src/utils/indxbib/Makefile,v 1.7 2003/05/01 13:22:21 ru Exp $ @@ -12,6 +12,7 @@ CLEANFILES= ${MAN} .include +.if make(install) COMMON_WORDS_FILE!= ${TOOL_AWK} -F\" '/COMMON_WORDS_FILE/ { print $$2 }' \ ${.CURDIR}/../../include/defs.h @@ -20,5 +21,6 @@ FILES=eign FILESNAME=${COMMON_WORDS_FILE:T} FILESDIR=${COMMON_WORDS_FILE:H} .endif +.endif .include