From 59064b2c94a38d8f66eea964fd05071694623448 Mon Sep 17 00:00:00 2001 From: Bill Hails Date: Sun, 12 Sep 2021 13:14:34 +0100 Subject: [PATCH] doc/comments --- Makefile.common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index d562917..edbb1c6 100644 --- a/Makefile.common +++ b/Makefile.common @@ -1,10 +1,16 @@ -SHELL=/bin/bash +# common makefile fragment included by all of the individual theme Makefiles +# operates in the context of those theme directories all: ${NAME}.sabakitheme.asar ${NAME}.sabakitheme.asar: theme/package.json asar pack ./theme $@ +# use jq to automatically increment the patchlevel in version.js +# then combine the fields of theme.package.json and ../common.package.json +# along with a constructed semantic version string from version.json +# into the single theme/package.json +# # https://stedolan.github.io/jq/ theme/package.json: theme.package.json version.json ../common.package.json theme/styles.css theme/images/*.png jq '{major, minor, patch: (.patch + 1)}' version.json > version.json.tmp