1
0
Fork 0

Adding 45/middleclickclose version 29 [c6f86c2].

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-03-24 19:42:08 +01:00
parent 6e18c5592f
commit 2841ee569c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
21 changed files with 1601 additions and 0 deletions

View file

@ -0,0 +1,27 @@
.PHONY: clean all install po pot pack
POT_SOURCE_FILES = $(wildcard src/schemas/*.gschema.xml src/*.js)
EXTRA_SOURCE_FILES = settingsWatch.js
all: pack
pack:
gnome-extensions pack --force src/ $(addprefix --extra-source=, $(EXTRA_SOURCE_FILES))
install: pack
gnome-extensions install --force middleclickclose@paolo.tranquilli.gmail.com.shell-extension.zip
po: $(wildcard src/po/*.po)
pot: src/po/template.pot
clean:
rm -f middleclickclose@paolo.tranquilli.gmail.com.shell-extension.zip
rm -f src/po/template.pot
# ---
src/po/template.pot: $(POT_SOURCE_FILES)
xgettext -F --from-code=UTF-8 --output=src/po/template.pot $(POT_SOURCE_FILES)
src/po/%.po: pot
msgmerge --quiet --backup off --update $@ src/po/template.pot