summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-05 08:02:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-05 09:10:01 +0000
commit773d5e7fd986d42c1825f31994d55bddf0d299b9 (patch)
treef95f07e5d3d2b188e62326b006b1415f9559e059
parentUpdating copyright for new upstream version. (diff)
downloadgnome-shell-extensions-extra-773d5e7fd986d42c1825f31994d55bddf0d299b9.tar.xz
gnome-shell-extensions-extra-773d5e7fd986d42c1825f31994d55bddf0d299b9.zip
Updating rules for new upstream version.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xdebian/rules36
1 files changed, 5 insertions, 31 deletions
diff --git a/debian/rules b/debian/rules
index 502a881..a16acfd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,35 +1,9 @@
#!/usr/bin/make -f
%:
- dh ${@}
+ dh ${@} --no-parallel
-execute_after_dh_auto_clean:
- # hibernate-status
- $(MAKE) -C hibernate-status clean
-
-override_dh_auto_build:
- # multi-monitors-add-on
- UUID=$(shell awk -F\" '/"uuid": / { print $$4 }' multi-monitors-add-on/*/metadata.json); \
- cd multi-monitors-add-on && \
- for TRANSLATION in $${UUID}/locale/* ; do \
- msgfmt -cv -o $${TRANSLATION}/LC_MESSAGES/multi-monitors-add-on.mo \
- $${TRANSLATION}/LC_MESSAGES/multi-monitors-add-on.po; \
- done && \
- glib-compile-schemas --strict --targetdir=$${UUID}/schemas/ $${UUID}/schemas
-
-override_dh_auto_install:
- mkdir -p debian/gnome-shell-extensions-extra/usr/share/gnome-shell/extensions
-
- # disable-workspace-switcher
- UUID=$(shell awk -F\" '/"uuid": / { print $$4 }' disable-workspace-switcher/*/metadata.json); \
- cp -a disable-workspace-switcher/$${UUID} debian/gnome-shell-extensions-extra/usr/share/gnome-shell/extensions
-
- # hibernate-status
- UUID=$(shell awk -F\" '/"uuid": / { print $$4 }' hibernate-status/metadata.json); \
- $(MAKE) -C hibernate-status DESTDIR=$(CURDIR)/debian/gnome-shell-extensions-extra install; \
- rm -f debian/gnome-shell-extensions-extra/usr/share/gnome-shell/extensions/$${UUID}/LICENSE; \
- rm -f debian/gnome-shell-extensions-extra/usr/share/gnome-shell/extensions/$${UUID}/README.md
-
- # multi-monitors-add-on
- UUID=$(shell awk -F\" '/"uuid": / { print $$4 }' multi-monitors-add-on/*/metadata.json); \
- cp -a multi-monitors-add-on/$${UUID} debian/gnome-shell-extensions-extra/usr/share/gnome-shell/extensions/$${UUID}
+execute_after_dh_auto_install:
+ # removing unused files
+ rm -f debian/gnome-shell-extensions-extra/usr/share/doc/*/CHANGELOG.txt
+ rm -f debian/gnome-shell-extensions-extra/usr/share/doc/*/LICENSE.txt