Bug#88029: allow rules file to be non-makefile
- To: Josip Rodin <joy@cibalia.gkvk.hr>
- Cc: 88029@bugs.debian.org
- Subject: Bug#88029: allow rules file to be non-makefile
- From: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>
- Date: Thu, 1 Mar 2001 10:40:32 +0000
- Message-id: <[🔎] 20010301104031.B16356@polya>
- Reply-to: Julian Gilbey <J.D.Gilbey@qmw.ac.uk>, 88029@bugs.debian.org
- In-reply-to: <20010301023157.I15901@cibalia.gkvk.hr>; from joy@cibalia.gkvk.hr on Thu, Mar 01, 2001 at 02:31:57AM +0100
- References: <20010228214133.B14278@cibalia.gkvk.hr> <XFMail.20010228130200.shaleh@valinux.com> <20010301004248.A15901@cibalia.gkvk.hr> <20010301003349.D14026@polya> <20010301014734.H15901@cibalia.gkvk.hr> <20010301011254.A15109@polya> <20010301023157.I15901@cibalia.gkvk.hr>
On Thu, Mar 01, 2001 at 02:31:57AM +0100, Josip Rodin wrote:
> > I can't think of a really good reason for insisting, besides the issue
> > of readability.
>
> Indeed, and even that's debatable.
And not particularly precisely defined ;-)
> I can't seem to think of proper wording to allow non-makefile... perhaps
> this:
>
> This file must be an architecture-independent non-interactive executable
> which has to take the following parameters on the command line and act
> accordingly:
>
> [list of required targets]
BTW, see the accepted proposal 72335 about build-arch/build-indep.
This means that "debian/rules [-q] build-(arch|indep)" will have to
bomb out with exit status 2 if the target does not exist. So that
will have to go into policy as a requirement:
If the requested target does not exist, you must exit with exit
status 2. If you are called with a -q flag, you must not attempt to
perform any actions, and must return with exit status 2 if and only
if the requested target does not exist.
This is getting messy, but still doable.
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: