gnome-shell-extension-night.../Makefile

25 lines
609 B
Makefile

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); \
glib-compile-schemas schemas; \
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