diff options
| author | W. Kosior <koszko@koszko.org> | 2025-10-31 09:25:42 +0100 |
|---|---|---|
| committer | W. Kosior <koszko@koszko.org> | 2025-10-31 09:25:42 +0100 |
| commit | 14f13db883f2da447d4dab85e518c7be892f461c (patch) | |
| tree | 5803ebc50ae4256d1e7c47248d10d2d13e408235 /GNUmakefile | |
| parent | 38be29670dd5d2d98c436a2cabebaa6e378a33aa (diff) | |
| download | simple-browser-extension-magister.tar.gz simple-browser-extension-magister.zip | |
Diffstat (limited to 'GNUmakefile')
| -rw-r--r-- | GNUmakefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index ea2cc31..c615552 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -15,6 +15,7 @@ ICON_SIZES = 128 64 48 32 16 PNG_ICONS = $(addsuffix .png, $(addprefix icons/extension-, $(ICON_SIZES))) $(PNG_ICONS): icons/extension.svg + command -v $(INKSCAPE) for SIZE in $(ICON_SIZES); do \ $(INKSCAPE) -o icons/extension-$$SIZE.png -w $$SIZE -h $$SIZE \ icons/extension.svg; \ @@ -32,6 +33,8 @@ CONTENT_SCRIPTS = $(addprefix content/, \ ) manifest.json: manifest.json.in get-code-block.awk $(CONTENT_SCRIPTS) + command -v $(AWK) + command -v $(JQ) FIRST=yes && \ SCRIPT_SPECS="$$( \ for SCRIPT in $(CONTENT_SCRIPTS); do \ @@ -62,6 +65,7 @@ manifest.json: manifest.json.in get-code-block.awk $(CONTENT_SCRIPTS) background/background.js: background/background.js.in get-code-block.awk \ $(CONTENT_SCRIPTS) + command -v $(AWK) BG_CODE="$$( \ $(AWK) --assign block_type=background-js \ -f get-code-block.awk $(CONTENT_SCRIPTS) | \ |
