From owner-cvs-all Wed May 5 14:26:12 1999 Delivered-To: cvs-all@freebsd.org Received: from stampede.cs.berkeley.edu (stampede.CS.Berkeley.EDU [128.32.45.124]) by hub.freebsd.org (Postfix) with ESMTP id 499C515566; Wed, 5 May 1999 14:26:00 -0700 (PDT) (envelope-from asami@cs.berkeley.edu) Received: from silvia.hip.berkeley.edu (sji-ca7-52.ix.netcom.com [209.109.235.52]) by stampede.cs.berkeley.edu (8.8.7/8.7.3) with ESMTP id OAA27008; Wed, 5 May 1999 14:26:52 -0700 (PDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.2/8.6.9) id OAA51502; Wed, 5 May 1999 14:25:53 -0700 (PDT) Date: Wed, 5 May 1999 14:25:53 -0700 (PDT) Message-Id: <199905052125.OAA51502@silvia.hip.berkeley.edu> X-Authentication-Warning: silvia.hip.berkeley.edu: asami set sender to asami@cs.berkeley.edu using -f To: taoka@FreeBSD.org Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org In-reply-to: <199905051507.IAA01913@freefall.freebsd.org> (message from Satoshi Taoka on Wed, 5 May 1999 08:07:38 -0700 (PDT)) Subject: Re: cvs commit: ports/lang/jdk-doc Makefile ports/lang/jdk-doc/pkg MESSAGE.tmpl MESSAGE From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) References: <199905051507.IAA01913@freefall.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk * (When we "make install", pkg/MESSAGE is made from pkg/MESSAGE.tmpl.) You shouldn't do that. Don't write anything outside ${WRKDIR}. You can do something like this: (rename pkg/MESSAGE.tmpl to pkg/MESSAGE) PKGMESSAGE= ${WRKDIR}/MESSAGE do-install: : @${SED} ... ${PKGDIR}/MESSAGE > ${PKGMESSAGE} @${CAT} ${PKGMESSAGE} (no pre-clean) Also, there is no reason to have a separate post-install since your Makefile supplies do-install too. -PW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message