[Pkg-jed-devel] byte compiling sl files
Rafael Laboissiere
Rafael Laboissiere <rafael@debian.org>
Mon, 25 Apr 2005 22:21:21 +0200
* Jörg Sommer <joerg@alea.gnuu.de> [2005-04-25 17:27]:
> G. Milde schrieb am Mon 25. Apr, 12:57 (+0200) :
> > > 1) Each package needing byte-compiling
> >
> > * can do this in the postinst script with:
> >
> > cd <dir where the file is installed, e.g. Jed_Site_Library>
> > jed --batch -f 'byte_compile_file("<myfile.sl>", 0)'
>
> and didn't get updated if a new jed package comes.
>
> > (this is the fast way) or
> >
> > jed --batch -l make_ini.sl
>
> Which doesn't work, if jed-extra isn't installed. So all jed packages
> must depend on jed-extra. make_ini.sl isn't in the official jed package
> and I don't think all debian packages they want to provide a jed script
> need to _depend_ on jed-extra.
>
> > > 3) The jed-common package will run
> >
> > cd <Jed_Site_Library>
> > jed --batch -l make_ini.sl
>
> Which fails.
I agree with Jörg's analysis.
--
Rafael