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

Re: Is dh_install doesn't rm the files?



On Sun, Jun 09, 2002 at 01:52:31AM +0300, Shaul Karl wrote:
> > >>>>> "Peter" == Peter S Galbraith <Peter> writes:
> >     Peter> `make install DESTDIR=`pwd`/debian/packagename` installed
> >     Peter> everything in one tree, and I had to move ome files over
> >     Peter> tothe -dev package.  I eneded up doing it by hand since
> >     Peter> dh_install didn't move but only copy.
> > 
> > However, 'make install DESTDIR=`pwd`/debian/tmp' follwoed by
> > 'dh_install -ppackage' & 'dh_install -ppackage-dev' will do exactly
> > what you want.
> > 
> > -- 
> > Stephen
> > 
> 
> 
> However it is my understating that with 'dh_install -ppackage' & 
> 'dh_install -ppackage-dev' I must list in package{,-dev}.install all 
> the directories/files that needs to be copied to each of the 2 packages 
> build directories. This tend to be less manageable then `make install 
> DESTDIR=`pwd`/debian/package` and moving just the files of the dev 
> package, especially when the dev package does not take many files from 
> `pwd`/debian/package.

Easy does not mean correct. Using the suggested debian/tmp install, and
specifying all the package files specifically, is the best way and will
avoid most problems associated with your method.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://linux1394.sourceforge.net/
Subversion - http://subversion.tigris.org/
Deqo       - http://www.deqo.com/


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: