Re: Which targets are mandatory in debian/rules?
On Sun, Feb 07, 1999 at 10:43:47PM +0000, James Troup wrote:
> No, the build target should be present and should do something,
> i.e. build the package. Even if it only depends on the two other
> build targets, it should still build stuff.
No, section 3.2.1 of the packaging manual says that it is acceptable
for the build target to do nothing.
For some packages, notably ones where the same source tree is
compiled in different ways to produce two binary packages, the
build target does not make much sense. For these packages it is
good enough to provide two (or more) targets (build-a and
build-b or whatever) for each of the ways of building the
package, and a build target that does nothing. The binary
target will have to build the package in each of the possible
ways and make the binary package out of each.
Hamish
--
Hamish Moffatt VK3TYD hamish@debian.org, hamish@rising.com.au
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome. http://hamish.home.ml.org
Reply to: