Skip to content
Snippets Groups Projects
Commit d81a463b authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

Calculate a unique site config version specifier

parent 298b7808
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,10 @@ $(GLUON_SITEDIR)/site.mk:
-include $(GLUON_SITEDIR)/site.mk
GLUON_CONFIG_VERSION := $(shell cd $(GLUON_SITEDIR) && git describe --always --dirty=.$$(stat -c %Y $(GLUON_SITEDIR)/site.conf))
export GLUON_CONFIG_VERSION
define merge-lists
$(1) :=
$(foreach var,$(2),$(1) := $$(sort $$(filter-out -% $$(patsubst -%,%,$$(filter -%,$$($(var)))),$$($(1)) $$($(var))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment