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

Re: how to create a new debian package



Hi,

On Mon, Oct 12, 2009 at 12:27:51AM +0800, george wrote:
> Hi all 
> 
> How to create a new Debian package from my source ? I want to create binary
> packages from the source I have.
> 
> When I using "dpkg-buildpackage -rfakeroot -b -d" to cli ,I got the error
> msg as follows :
...
> tail: cannot open `debian/changelog' for reading: No such file or directory
> 
> dpkg-buildpackage: failure: tail of debian/changelog gave error exit status
> 1

Did you created source with debian/* ?

It seems you did not run dh_make and editted files there.

Please read:
 http://www.debian.org/doc/devel-manuals#maint-guide
 (somewhat outdated examples but good enough for you to get idea)

Then read related manpages and key documents:
 http://www.debian.org/doc/devel-manuals#policy
 http://www.debian.org/doc/devel-manuals#devref

Osamu


Reply to: