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

Re: creating debs



On 07 Jan 2002 20:06:56 +0100
Mateusz Papiernik <mati@mati.rm.pl> wrote:

> Is there any program for creating debian packages? I trying to do
> good package hand by hand, but after dh_make, --prefix=/usr......
> and dpkg-buildpackage in the output there are binaries in /bin,
> not /usr/bin - I don't know what I do wrong, so I think "maybe is 
> some program for create debs easly?". Can you help me?
I don't know of such a program, but it is easy to write a control
file, create the directory tree inside a dir and create the package
from the binaries hehehe

anyway, your problem is simple to solve... the default installation
command put on by dh_make is: 

$(MAKE) install prefix=$(CURDIR)/debian/packagename

and it should be:

$(MAKE) install prefix=$(CURDIR)/debian/packagename/usr

just change that and things will go correctly (if this is the problem,
of course)

[by the way, I shall file a wishlist against dh_make because of
that... if no one's done it already]

[]s!

-- 
    Gustavo Noronha Silva - kov <http://www.metainfo.org/kov>
*---------* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+
|  .''`.  | Debian GNU/Linux: <http://www.debian.org>         |
| : :'  : + Debian BR.......: <http://debian-br.cipsga.org.br>+
| `. `'`  + Q: "Why did the chicken cross the road?"          +
|   `-    | A: "Upstream's decision." -- hmh                  |
*---------* -+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+--+-+-+



Reply to: