diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 17:26:47 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-16 17:26:47 +0000 |
commit | 2a95917e152d60e9ecc80f953907293f409b4984 (patch) | |
tree | 3e4a3df9af670ba2bbbb2493deefa9ef32e30b7d /extensions/47/middleclickclose/Makefile | |
parent | Adding upstream version 20240414. (diff) | |
download | gnome-shell-extensions-extra-2a95917e152d60e9ecc80f953907293f409b4984.tar.xz gnome-shell-extensions-extra-2a95917e152d60e9ecc80f953907293f409b4984.zip |
Adding upstream version 20240916.upstream/20240916upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'extensions/47/middleclickclose/Makefile')
-rw-r--r-- | extensions/47/middleclickclose/Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extensions/47/middleclickclose/Makefile b/extensions/47/middleclickclose/Makefile new file mode 100644 index 0000000..8960c95 --- /dev/null +++ b/extensions/47/middleclickclose/Makefile @@ -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 |