This way, "make zip-file && ./local-install.sh" is not needed, you
just do "make local-install". Also, it allows to specify a different
prefix as a make variable.
This way it is clear what license covers these extensions, and to
what extent it is possible to reuse the code.
Also, fixed the rule to avoid calling `pwd` a bunch of times.
Common code for retrieving translations and GSettings schemas has
been factored out into lib/convenience.js, which is part of
every extension installation.
Since that code relies on renames done at zip file creation time,
extensions can no longer be installed with "make install". Instead,
one should create the zip file and install it with the tweak-tool.
There is also a bash script, local-install.sh, that will install
everything in zip-files.
Also, since the GSettingsSchemaSource code is not yet in a stable
GLib release, extensions using GSettings have seen their stable
shell version removed.
Now, typing "make zip-file" will create a standard zip-file for each
extension, with everything necessary, including translations and GSettings schemas.
These files can then be installed with the tweak-tool or uploaded
at extensions.gnome.org
Based on an earlier patch by Jasper St. Pierre.
For testing, for packaging, and for jhbuild installations, you can
use --enable-extensions=all to get back to previous behaviour of
installing all extensions.