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

Re: files in .deb

On Fri, 28 Feb 2003, Sheraz Khan wrote:

> how can include other my own serperat file in .deb package file so that 
> after when package will be insgtalled that file go to my specified 
> location.........where should i specify that file and its location......in 
> debain pakcage....

If you're trying to do what I think you're trying to do, you'll want to do
the following steps (you'll need to read some documentation, such as the
developers reference and some man pages, to get the specifics):

* Install the source package using 'apt-get source'

* Add your file to the package somewhere

* Modify debian/rules (or possibly one of the debhelper config files if it's
using debhelper) to install your file at a particular location

* Bump the package version using dch -v

* Rebuild using dpkg-buildpackage

* Install your newly built package with dpkg

If you want to supply a concrete example, I'm happy to discuss specifics on
the list.

Matthew Palmer, Debian Developer
mpalmer@debian.org     http://www.debian.org

Reply to: