Bug#88111: policy should not dictate implementation details
On Thu, Mar 01, 2001 at 03:22:21PM +0100, Wichert Akkerman wrote:
> I'll make this a proposal then:
>
> Section 5.2 of policy currently dictates that debian/rules has to be
> a makefile. While this is good practice, the only thing that is essential
> is that it is an executable that will respond to the build, clean,
> binary, binary-arch and binary-indep targets.
>
> As such I propose that the statement that debian/rules has be to a
> makefile be removed.
Right. Give a policy diff which specifies *exactly* what interfaces
are required of debian/rules.
In particular, the following should be minimally required:
debian/rules required-target
exit status: 0 if success, non-zero otherwise
debian/rules -q target
exit status: 2 if target does not exist, !=2 otherwise
I can't think of any others which would be necessary, but if there
are, we should think of them now rather than later.
Once that is done, I think I'll be happy with the proposal.
Julian
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Julian Gilbey, Dept of Maths, Queen Mary, Univ. of London
Debian GNU/Linux Developer, see http://people.debian.org/~jdg
Donate free food to the world's hungry: see http://www.thehungersite.com/
Reply to: