[Pkg-jed-devel] byte compiling sl files

Jörg Sommer joerg@alea.gnuu.de
Mon, 25 Apr 2005 17:27:15 +0200


--vtzGhvizbBRQ85DL
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

G. Milde schrieb am Mon 25. Apr, 12:57 (+0200) :
> > 1) Each package needing byte-compiling
>=20
>      * can do this in the postinst script with:
>     =20
>          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=20
>         =20
>          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=20
>=20
>      cd <Jed_Site_Library>
>      jed --batch -l make_ini.sl

Which fails.

J=F6rg.

--=20
"Unfortunately, the current generation of mail programs do not have
 checkers to see if the sender knows what he is talking about"
         -- Andrew S. Tanenbaum

--vtzGhvizbBRQ85DL
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iQEVAwUBQm0MUoZ13Cz2nwVYAQK1NQf/akTthf/EjRpg8HN86dQ3XXjoht9lzVjq
SaQTAI6whR5lLqIsv9ojaah4Q+810cgrfBF02l5J+amaWt853HQq4OqPUveEr8t/
+TqzikeNEnhvmWVB7LRjIxsjxEpHYoq4dowKxw6Lapaw3I84XDJ8sueqsEX5S4A7
cXomckzX5wQs33ZHaeS6EhX+VT93v88Bq2nDgZaX6qOK5a0+SlMhi0OUQ1UfWPqB
B4+kjNc9eZL/Gf6k/hHVu4+fLXEC1BQFySnwWx79GAehodv2EmAWb3VSrNWEwODt
oPQPiZJ937IBuo2eQvEiid3ESdSlm5UUsuIg04Lak4Im1F/TgWTgpg==
=k0zq
-----END PGP SIGNATURE-----

--vtzGhvizbBRQ85DL--