Makefile fixes
Build LinkLog Development Image / development-image (push) Successful in 8s

This commit is contained in:
2026-08-26 10:42:24 +02:00
parent c748241291
commit c012f1edfa
9 changed files with 15 additions and 3 deletions
+7 -2
View File
@@ -15,15 +15,20 @@ XPI_UNSIGNED_DIR := XPI/unsigned
XPI_SIGNED_DIR := XPI/signed
XPI_OUTPUT := $(XPI_UNSIGNED_DIR)/$(XPI_FILE)
EXTENSION_FILES := manifest.json logo.svg icon-16.png icon-32.png icon-48.png icon-96.png options.css options.html options.js popup.css popup.html popup.js
EXTENSION_SOURCES := $(addprefix webextension/,$(EXTENSION_FILES))
XPI_VALIDATOR := scripts/release/validate_xpi.py
.PHONY: all logos xpi check-tools clean-generated
all: logos
all: logos
logos: check-tools $(GENERATED_LOGOS)
xpi: logos
xpi: $(XPI_OUTPUT)
$(XPI_OUTPUT): $(EXTENSION_SOURCES) $(GENERATED_LOGOS) $(XPI_VALIDATOR)
@test -n "$(EXTENSION_VERSION)" || { echo "Error: extension version is missing from webextension/manifest.json" >&2; exit 1; }
@mkdir -p $(XPI_UNSIGNED_DIR) $(XPI_SIGNED_DIR)
@rm -f $(XPI_OUTPUT)