Re: Creation of tmp directory with buildpackage

2001-07-29 Thread Hamish Moffatt
On Sat, Jul 28, 2001 at 02:18:41PM +0100, Will Newton wrote: > On Saturday 28 July 2001 5:24 am, Hamish Moffatt wrote: > > > It doesn't look right. Your two packages (otcl1 and otcl-dev) can't > > share the same tmpdir. > > Erm, why not? Surely the job of dh_movefiles is to move files out of the

Re: Creation of tmp directory with buildpackage

2001-07-29 Thread Hamish Moffatt
On Sat, Jul 28, 2001 at 02:18:41PM +0100, Will Newton wrote: > On Saturday 28 July 2001 5:24 am, Hamish Moffatt wrote: > > > It doesn't look right. Your two packages (otcl1 and otcl-dev) can't > > share the same tmpdir. > > Erm, why not? Surely the job of dh_movefiles is to move files out of the

Re: Creation of tmp directory with buildpackage

2001-07-28 Thread Joshua Haberman
* Will Newton ([EMAIL PROTECTED]) wrote: > On Saturday 28 July 2001 5:24 am, Hamish Moffatt wrote: > > > It doesn't look right. Your two packages (otcl1 and otcl-dev) can't > > share the same tmpdir. > > Erm, why not? Surely the job of dh_movefiles is to move files out of the > debian/tmp dir an

Re: Creation of tmp directory with buildpackage

2001-07-28 Thread Joshua Haberman
* Will Newton ([EMAIL PROTECTED]) wrote: > On Saturday 28 July 2001 5:24 am, Hamish Moffatt wrote: > > > It doesn't look right. Your two packages (otcl1 and otcl-dev) can't > > share the same tmpdir. > > Erm, why not? Surely the job of dh_movefiles is to move files out of the > debian/tmp dir a

Re: Creation of tmp directory with buildpackage

2001-07-28 Thread Will Newton
On Saturday 28 July 2001 5:24 am, Hamish Moffatt wrote: > It doesn't look right. Your two packages (otcl1 and otcl-dev) can't > share the same tmpdir. Erm, why not? Surely the job of dh_movefiles is to move files out of the debian/tmp dir and into the package dirs based on package.files? Is the

Re: Creation of tmp directory with buildpackage

2001-07-28 Thread Will Newton
On Saturday 28 July 2001 5:24 am, Hamish Moffatt wrote: > It doesn't look right. Your two packages (otcl1 and otcl-dev) can't > share the same tmpdir. Erm, why not? Surely the job of dh_movefiles is to move files out of the debian/tmp dir and into the package dirs based on package.files? Is th

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Hamish Moffatt
On Sat, Jul 28, 2001 at 03:46:17AM +0100, Will Newton wrote: > dh_installdirs --package=otcl1 --tmpdir=./debian/tmp > dh_installdirs --package=otcl-dev --tmpdir=./debian/tmp > > # Add here commands to install the package into debian/tmp > install -d debian/tmp >

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Will Newton
On Saturday 28 July 2001 3:20 am, Joshua Haberman wrote: > If your source package creates more than one binary package and the > upstream Makefile installs everything at once, then debian/tmp and > dh_movefiles are useful. But otherwise debian/ is easiest. It seems I can get the package to build

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Joshua Haberman
* Will Newton ([EMAIL PROTECTED]) wrote: > On Saturday 28 July 2001 2:33 am, Ben Collins wrote: > > > Why not make the change in debian/rules rather than in the package's > > Makefile? > > > > > > install -d debian/tmp > > $(MAKE) install DESTDIR=$(PWD)/debian/tmp > > > > Should do the tri

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Hamish Moffatt
On Sat, Jul 28, 2001 at 03:46:17AM +0100, Will Newton wrote: > dh_installdirs --package=otcl1 --tmpdir=./debian/tmp > dh_installdirs --package=otcl-dev --tmpdir=./debian/tmp > > # Add here commands to install the package into debian/tmp > install -d debian/tmp >

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Will Newton
On Saturday 28 July 2001 2:33 am, Ben Collins wrote: > Why not make the change in debian/rules rather than in the package's > Makefile? > > > install -d debian/tmp > $(MAKE) install DESTDIR=$(PWD)/debian/tmp > > Should do the trick. This way I have to manually create all dirs under de

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Ben Collins
On Sat, Jul 28, 2001 at 01:24:21AM +0100, Will Newton wrote: > > I've been trying to create my first debian package following the New > Maintainers Guide, and I've run into a problem. The guide mentions that > binaries should be installed to ./debian/tmp and then dh_movefiles will move > them a

Creation of tmp directory with buildpackage

2001-07-27 Thread Will Newton
I've been trying to create my first debian package following the New Maintainers Guide, and I've run into a problem. The guide mentions that binaries should be installed to ./debian/tmp and then dh_movefiles will move them as necessary to the correct destination. Unfortunately, while the desti

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Will Newton
On Saturday 28 July 2001 3:20 am, Joshua Haberman wrote: > If your source package creates more than one binary package and the > upstream Makefile installs everything at once, then debian/tmp and > dh_movefiles are useful. But otherwise debian/ is easiest. It seems I can get the package to build

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Joshua Haberman
* Will Newton ([EMAIL PROTECTED]) wrote: > On Saturday 28 July 2001 2:33 am, Ben Collins wrote: > > > Why not make the change in debian/rules rather than in the package's > > Makefile? > > > > > > install -d debian/tmp > > $(MAKE) install DESTDIR=$(PWD)/debian/tmp > > > > Should do the tr

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Will Newton
On Saturday 28 July 2001 2:33 am, Ben Collins wrote: > Why not make the change in debian/rules rather than in the package's > Makefile? > > > install -d debian/tmp > $(MAKE) install DESTDIR=$(PWD)/debian/tmp > > Should do the trick. This way I have to manually create all dirs under d

Re: Creation of tmp directory with buildpackage

2001-07-27 Thread Ben Collins
On Sat, Jul 28, 2001 at 01:24:21AM +0100, Will Newton wrote: > > I've been trying to create my first debian package following the New > Maintainers Guide, and I've run into a problem. The guide mentions that > binaries should be installed to ./debian/tmp and then dh_movefiles will move > them

Creation of tmp directory with buildpackage

2001-07-27 Thread Will Newton
I've been trying to create my first debian package following the New Maintainers Guide, and I've run into a problem. The guide mentions that binaries should be installed to ./debian/tmp and then dh_movefiles will move them as necessary to the correct destination. Unfortunately, while the dest