To avoid manually adding the 3.4 stable version when doing the release, check in configure if building a stable (even minor) version and strip micro at that time.
19 lines
620 B
Makefile
19 lines
620 B
Makefile
include $(top_srcdir)/include.mk
|
|
|
|
dist_extension_DATA = extension.js stylesheet.css $(EXTRA_MODULES)
|
|
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@|$(SHELL_VERSION)|" \
|
|
-e "s|[@]url@|$(extensionurl)|" \
|
|
$< > $@
|
|
|
|
CLEANFILES = metadata.json
|