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

Re: Making a package with multiple binaries

On Sun, Oct 22, 2000 at 06:13:27PM +0200, Josip Rodin wrote:
> On Sun, Oct 22, 2000 at 10:07:12AM -0400, Adam C Powell IV wrote:
> >         dh_testdir
> >         mkdir option1-build-dir
> >         cd option1-build-dir
> >         ../configure --with-one-set-of-options && $(MAKE)
> >         cd ..
> Only you can't have cd's on separate lines, because it's a makefile.

Yes you can:

	(cd option1-build-dir; \
	 ../configure --with-one-set-of-options && $(MAKE))

By putting the commands into a brackets () they all run in the same shell.

                                Steve Dobson steve.dobson@krasnegar.demon.co.uk

The only difference between the saint and the sinner is that every saint
has a past and every sinner has a future.
-- Oscar Wilde

Reply to: