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

Re: i have a problem with making a .deb file



On Thu, Apr 05, 2001 at 11:58:31PM +0200, Christian SPENER wrote:
> i made a deb file from tar.gz file, did everything like in the new maintainer 
> guide. it is easy cause the programm is a kdevelop programm, so it uses 
> automake conf etc.
> everything workes, only the binary goes to /bin not to /usr/bin
> when i look into into the deb file, under CONTENTS there are this dirs
> bin
> usr
> share
> ther should be only usr or?
> where can i change this? what do i have to edit, that everything goes into 
> usr ??
> thx chris
>
If you used dh-make to debianize the source, or really doesn't matter
what you used, dh-make is just the 'current' way to do things. Anyway,
check your install target in debian/rules. If you are using
DH_COMPAT={2,3} then you should install to DESTDIR=`pwd`/debian/$pkg/usr, if
you have DH_COMPAT=1 use DESTDIR=`pwd`/debian/tmp/usr.

Sounds like you may be using DESTDIR=`pwd`/debian ?

HTH

Gordon Sadler




Reply to: