Re: Installing new GJS modules
- From: Giovanni Campagna <scampa giovanni gmail com>
- To: Philip Chimento <philip chimento gmail com>
- Cc: javascript-list gnome org
- Subject: Re: Installing new GJS modules
- Date: Thu, 29 Aug 2013 10:22:08 +0200
2013/8/29 Philip Chimento <philip chimento gmail com>:
Dear list,
If I am writing a pure Javascript module in GJS, and wish to distribute it
in an Autotools package, where should I install it? Putting it directly into
$(datadir)/gjs-1.0 works, but seems untidy. What is the polite way to
install a GJS module and update GJS_PATH?
Is this for an application, or a general purpose module?
In the former case, the right place is $(pkgdatadir), in the latter
case, just don't do it.
We don't have the infrastructure right now to handle external packages
that are shared between applications, and it's a lot simpler if each
app ships their own bundled module.
Giovanni
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]