2024-05-16 10:02:40 +00:00
|
|
|
BUNDLE_PATH = "nightscout-follower@treehouse.org.za.zip"
|
|
|
|
EXTENSION_DIR = "nightscout-follower@treehouse.org.za"
|
|
|
|
|
|
|
|
all: build install
|
|
|
|
|
|
|
|
.PHONY: build install clean translations lint lint-fix
|
|
|
|
|
|
|
|
build:
|
|
|
|
rm -f $(BUNDLE_PATH)
|
|
|
|
cd $(EXTENSION_DIR); \
|
2024-05-16 14:34:15 +00:00
|
|
|
glib-compile-schemas schemas; \
|
2024-05-16 10:02:40 +00:00
|
|
|
gnome-extensions pack --force --podir=locale \
|
|
|
|
--extra-source=icons/; \
|
|
|
|
mv $(EXTENSION_DIR).shell-extension.zip ../$(BUNDLE_PATH)
|
|
|
|
|
|
|
|
install:
|
|
|
|
gnome-extensions install $(BUNDLE_PATH) --force
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@rm -fv $(BUNDLE_PATH)
|
|
|
|
@rm -fv $(EXTENSION_DIR)/schemas/gschemas.compiled
|
|
|
|
|
|
|
|
translations:
|
|
|
|
@./update-locale.sh
|