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

Re: Bug#88029: allow rules file to be non-makefile



Julian,

What about Perl, interpreted Java, Pike, BASIC, et al?

My point: Using interpreted languages in rules files should be
avoided. Otherwise thou canst not build eg python without already having
python installed... and you get a chicken-and-egg problem. Ouch.

Regards,

Alex.

---
PGP/GPG Fingerprint:
  EFD1 AC6C 7ED5 E453 C367  AC7A B474 16E0 758D 7ED9

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM>CC/IT d- s:+ a16 C++(++++)>$ UL++++>$ P--- L++>++$ E+ W+(-) N+ o? K? w---() 
!O !M !V PS+(++)>+ PE-(--) Y+>+ PGP t+>++ !5 X-- R>++ tv(+) b+(++) DI(+) D++ 
G>+++ e--> h! !r y>+++ 
------END GEEK CODE BLOCK------

On Thu, 1 Mar 2001, Julian Gilbey wrote:

> On Thu, Mar 01, 2001 at 01:40:14AM +0100, Josip Rodin wrote:
> > > RC bug, get the package removed until the rules file is readable.
> > 
> > It _is_ readable. :)
> 
> To quote a few juicy bits:
> 
> [...]
> # core methods
> DEBIAN . do_header : 'echo "==> [$($THIS . MAKE_LEVEL)] Making $@" 1>&2
>         $THIS . MAKE_LEVEL =q $(expr $($THIS . MAKE_LEVEL) + 1)'
> [...]
> # I have to use ugly IFS magic here, otherwise things would fail miserably
>         SAVE_IFS="$IFS"
>         GOOD_IFS="      
> "
>         IFS="$GOOD_IFS"
> [...]
>         $THIS . do dh_installchangelogs
> # This is Evil.
>         $THIS . do rm -f debian/shoop-dev/usr/share/doc/shoop/copyright
>         $THIS . do rm -f debian/shoop-dev/usr/share/doc/shoop/changelog{,.gz}
>         $THIS . do rm -f debian/shoop-modules/usr/share/doc/shoop/copyright
>         $THIS . do rm -f debian/shoop-modules/usr/share/doc/shoop/changelog{,.gz
> }
> # Evil ends here.
> [...]
> 
> Parts of it are readable, parts are not quite so readable.  It's
> essentially a highly simple package, and yet its rules file requires
> "ugly IFS magic" and "Evil" code.
> 
> If this is the way things are likely to go, then I maintain that to
> ensure we build good packages, we should stick with makefiles, which
> are designed to do things just like this.
> 
> Or we could go and write all of our rules files in Python.  Now
> there's a good idea!
> 
>    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/
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: