[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building "sublanguages" from gcc

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:

	cd ..

but you can do:

	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 Moffatt, hamish@debian.org, hamish@rising.com.au, hmoffatt@mail.com
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 debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: