GNOME Shell emits a warning when "url" is absent in metadata.json, adding it costs nothing. Links to the GIT repository because I found no better page to reference.
23 lines
718 B
Makefile
23 lines
718 B
Makefile
extensionurl = http://git.gnome.org/gnome-shell-extensions
|
|
|
|
# Change these to modify how installation is performed
|
|
topextensiondir = $(datadir)/gnome-shell/extensions
|
|
extensionbase = @gnome-shell-extensions.gnome.org
|
|
|
|
uuid = $(EXTENSION_ID)$(extensionbase)
|
|
|
|
extensiondir = $(topextensiondir)/$(uuid)
|
|
|
|
dist_extension_DATA = extension.js stylesheet.css
|
|
nodist_extension_DATA = metadata.json $(EXTRA_EXTENSION)
|
|
|
|
EXTRA_DIST = metadata.json.in
|
|
|
|
metadata.json: metadata.json.in $(top_builddir)/config.status
|
|
$(AM_V_GEN) sed -e "s|[@]LOCALEDIR@|$(datadir)/locale|" \
|
|
-e "s|[@]uuid@|$(uuid)|" \
|
|
-e "s|[@]shell_current@|$(PACKAGE_VERSION)|" \
|
|
-e "s|[@]url@|$(extensionurl)|" $< > $@
|
|
|
|
CLEANFILES = metadata.json
|