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

Bug#432564: Allow debian/rules to not be a makefile



Ian Jackson dijo [Tue, Jul 10, 2007 at 04:30:00PM +0100]:
> Package: debian-policy
> Version: 3.7.2.2
> 
> Currently, we have:
> 
>   4.9 Main building script: debian/rules
> 
>   This file must be an executable makefile, and contains the
>   package-specific recipes for compiling the package and building
>   binary package(s) from the source.
> 
>   It must start with the line #!/usr/bin/make -f, so that it can be
>   invoked by saying its name rather than invoking make explicitly.
> 
> There is no technical reason why this has to be a makefile.  I propose:
> 
>   4.9 Main building script: debian/rules
> 
>   This file is normally an executable makefile, and contains the
>   package-specific recipes for compiling the package and building
>   binary package(s) from the source.
> 
>   debian/rules must be an executable script with an appropriate #!
>   line (so, if it is a makefile it must start with the line
>   #!/usr/bin/make -f) so that it can be invoked by saying its name.
>   It should use a widely-used language, and should restrict itself to
>   features portable even to older versions of its interpreter.

I completely second this. It makes sense, and has been the subject of
too many sterile discussions. 

-- 
Gunnar Wolf - gwolf@gwolf.org - (+52-55)5623-0154 / 1451-2244
PGP key 1024D/8BB527AF 2001-10-23
Fingerprint: 0C79 D2D1 2C4E 9CE4 5973  F800 D80E F35A 8BB5 27AF

Attachment: pgptsvLfezE1o.pgp
Description: PGP signature


Reply to: