From owner-freebsd-ports Sun May 25 00:50:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id AAA13678 for ports-outgoing; Sun, 25 May 1997 00:50:16 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (ala-ca9-14.ix.netcom.com [207.93.143.78]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id AAA13673 for ; Sun, 25 May 1997 00:50:13 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.8.5/8.6.9) id AAA11422; Sun, 25 May 1997 00:50:03 -0700 (PDT) Date: Sun, 25 May 1997 00:50:03 -0700 (PDT) Message-Id: <199705250750.AAA11422@silvia.HIP.Berkeley.EDU> To: hoek@hwcn.org CC: pgiffuni@fps.biblos.unal.edu.co, ports@FreeBSD.ORG In-reply-to: (message from Tim Vanderhoek on Sat, 24 May 1997 19:24:47 -0400 (EDT)) Subject: Re: Porting (stupid) doubt From: asami@FreeBSD.ORG (Satoshi Asami) Sender: owner-ports@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk * alwaysrunme:: * cd some_source_dir I'm afried this doesn't work. ;) It will run a subshell, do a cd in it, and return. (This is why it's so hard to deal with subdirectories in Makefiles.) You should probably write your own do-install script. You can cd into whatever directory you want and run whatever target from there. Feel free to peek into the default do-install target in bsd.port.mk (although there is no need to duplicate all the knobs and stuff, of course). Satoshi