Add "gettext-domain", "extension-id" (containing the base part of the UUID) and "gschemabase" (which, combined with "extension-id", gives the GSettings schema) to metadata.json, autogenerated by the build system.
19 lines
605 B
Makefile
19 lines
605 B
Makefile
include $(top_srcdir)/include.mk
|
|
|
|
dist_extension_DATA = extension.js stylesheet.css
|
|
nodist_extension_DATA = metadata.json $(top_srcdir)/lib/convenience.js $(EXTRA_EXTENSION)
|
|
|
|
EXTRA_DIST = metadata.json.in
|
|
|
|
metadata.json: metadata.json.in $(top_builddir)/config.status
|
|
$(AM_V_GEN) sed \
|
|
-e "s|[@]extension_id@|$(EXTENSION_ID)|" \
|
|
-e "s|[@]uuid@|$(uuid)|" \
|
|
-e "s|[@]gschemaname@|$(gschemaname)|" \
|
|
-e "s|[@]gettext_domain@|$(GETTEXT_PACKAGE)|" \
|
|
-e "s|[@]shell_current@|$(PACKAGE_VERSION)|" \
|
|
-e "s|[@]url@|$(extensionurl)|" \
|
|
$< > $@
|
|
|
|
CLEANFILES = metadata.json
|