On Thu, Apr 09, 1998 at 08:55:08AM -0400, pouellet wrote:
> The debian directory is in the gpc directory since I didn't want to
> package gcc-2.8.0 and gpc.  Do I *have* to put the debian directory in the
> gcc dir or is there a rules change I can add to cause the build command to
> move to the previous level subdirectory before the make command is issued
> (putting a cd .. in the rules file didn't work :-) )

you can't do:

target:
        cd ..
        make

but you can do:

target:
        cd .. && make

Lots of debian/rules files do this in my experience, or lots of mine
at least (and I got it from other examples). Not to run make, but to
install things from subdirectories.


Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to