Re: Installing new GJS modules



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]