Files
linux-sys-telemetry/org.sensord/gnome-sensor-tray/Makefile
2026-03-11 11:52:02 +09:00

28 lines
531 B
Makefile

UUID = sensor-tray@local
SRC = src
INSTALL_DIR = $(HOME)/.local/share/gnome-shell/extensions/$(UUID)
.PHONY: all schemas install uninstall zip clean test
all: schemas
schemas:
glib-compile-schemas $(SRC)/schemas/
install: schemas
rm -rf $(INSTALL_DIR)
cp -r ./$(SRC) $(INSTALL_DIR)
uninstall:
rm -rf $(INSTALL_DIR)
zip: schemas
cd $(SRC) && zip -x "*.pot" -x "*.po" -r ../$(UUID).zip *
clean:
rm -f $(UUID).zip
rm -f $(SRC)/schemas/gschemas.compiled
test: install
dbus-run-session -- gnome-shell --devkit --wayland