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

Re: One source package and more then 1 deb



On Sat, 2004-05-01 at 12:03, Andreas Metzler wrote:
> On 2004-05-01 Matthijs <matthijs@cacholong.nl> wrote:
> > A libinklevel1*.deb and a libinklevel-dev*.deb. But when i
> > dpkg-buildpackage dh_installdirs create two directories:
> > debian/tmp and debian/libinklevel1. When i then look in these two debs
> > all the files are installed into libinklevel-dev*.deb and nothing in
> > libinklevel1*.deb
> 
> > I've this install rule in debian/rules:
> > $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/usr
> 
> > So all files are going into debian/tmp and not also going into
> > libinklevel1.
> 
> > How can i change this ?
> [...]
> 
> You don't. You use dh_install or dh_movefiles to move the files
> in debian/libinklevel1 or debian/libinklevel-dev respectively after
> $(MAKE) install.
> 
> Just look at how other packages solve this.
>                   cu andreas
> -- 
> "See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
> fuhggvat qbja gur juveyvat tha.
> Neal Stephenson in "Snow Crash"
> 
I've tried to use dh_install in the install target:
install: build
        dh_testdir
        dh_testroot
        dh_clean -k
        dh_installdirs
                                                                                
        # Add here commands to install the package into debian/tmp
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/usr
                                                                                
        # Install the files in their own packages.
        dh_install -plibinklevel1
        dh_install -plibinklevel-dev

But this won't work. The libinklevel-dev deb has a all files and
libinklevel1 has no files in it. I've this also tried with the
dh_movefiles command but it has the same result.

On my website are the files:
http://www.cacholong.nl/~matthijs/libinklevel

I've take a look at libdv and that has some *.install files in the
debian directory. And when i look at the manpage of dh_install
dh_install should get these files and move them into the appropriate
directories but with my deb dh_install does nothing.

-- 
Get my public gpg key: http://www.cacholong.nl/~matthijs/matthijs.gpg

I love apt-get

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: