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

Re: compiling packages

On Sat, May 26, 2007 at 06:14:46AM +0100, Oliver Elphick wrote:
> 1. Change the Makefile and/or debian/rules as necessary to add -g to the
> compilation options.

Most already do that.

> 2. In debian/rules, comment out the instruction to strip the binaries
> (such as dh_strip).

No, use the environment variable instead.  Just set
DEB_BUILD_OPTIONS=nostrip and dh_strip won't actually strip anything.

> Packages are too diverse to give a method that will work for every one.

Well for most it is simply set that environment variable, and build the
package, and you should have what you want.

Len Sorensen

Reply to: