Re: Creation of tmp directory with buildpackage
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/<package> is easiest.
It seems I can get the package to build like this:
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
$(MAKE) install DESTDIR=`pwd`/debian/tmp
Is this right or just lucky?