mirror of
https://github.com/morgan9e/linux-sys-telemetry
synced 2026-04-14 00:04:07 +09:00
28 lines
531 B
Makefile
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
|