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

Re: Which targets are mandatory in debian/rules?



Mitch Blevins <mblevin@debian.org> writes:

> James Troup wrote:
> > Mitch Blevins <mblevin@debian.org> writes:
> > 
> > > The $64K question is... is this okay?
> > 
> > No; see the fine packaging manual.  `build' is a required target for
> > debian/rules (3.2.1) and if you omit, your package will be unbuildable
> > with dpkg-buildpackage and as result will fail for all the non-i386
> > ports and anyone who tries to build the package from source.
> 
> Thanks for the pointer.  I will put in an empty build target to satisfy
> this.

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.

-- 
James


Reply to: