views:

43

answers:

1

Hi, I would like to know options which where passed to program before make, which is currently installed on my Ubuntu (from deb). I would like to compile it manualy with the same options (+ some extra).

A: 

If you know what package the program came from (use dpkg -S to find this out), you can apt-get source $SOURCEPACKAGENAME (use apt-cache show to find this out) the source package and study the build script in debian/rules, which controls how the package is configured, built and split into .debs.

Jack Kelly