Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 1997 00:50:03 -0700 (PDT)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        hoek@hwcn.org
Cc:        pgiffuni@fps.biblos.unal.edu.co, ports@FreeBSD.ORG
Subject:   Re: Porting (stupid) doubt
Message-ID:  <199705250750.AAA11422@silvia.HIP.Berkeley.EDU>
In-Reply-To: <Pine.GSO.3.96.970524190726.3257A-100000@james.freenet.hamilton.on.ca> (message from Tim Vanderhoek on Sat, 24 May 1997 19:24:47 -0400 (EDT))

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705250750.AAA11422>