17
0
Files
hamster-time-tracker/0138-Makefile-Add-install-user-target.patch
Martin Wilck d6015f39c7 - GNOME 40 support for hamster shell extension
Upstream: d6e45d7 ("Fix GNOME shell error message about factsBox.FactsBox")
  * added 0131-metadata.json.in-fix-json-syntax-error.patch
  * added 0132-Update-README.st.patch
  * added 0133-Bump-latest-validated-gnome-shell-version-1.patch
  * added 0134-README-mention-GNOME-shell-compatibility-of-this-ver.patch
  * added 0135-README.rst-document-GNOME-shell-compatibility.patch
  * added 0136-ongoingFactEntry-stop-using-deprecated-Clutter-key-s.patch
  * added 0137-README.rst-update-GNOME-shell-compatibility-informat.patch
  * added 0138-Makefile-Add-install-user-target.patch
  * added 0139-Makefile-Add-install-target.patch
  * added 0140-README-Add-description-of-install-targets.patch
  * added 0141-Update-reST-syntax.patch
  * added 0142-Update-reST-syntax-take-2.patch
  * added 0143-Document-GNOME-3.38-compatibility.patch
  * added 0144-panelWidget-Remove-show-method.patch
  * added 0145-panelWidget-Rename-toggle-to-toggle_menu.patch
  * added 0146-Makeing-it-work-with-Gnome-40.-340.patch
  * added 0147-fixup-Makeing-it-work-with-Gnome-40.-340.patch

OBS-URL: https://build.opensuse.org/package/show/Office/hamster-time-tracker?expand=0&rev=23
2021-05-20 21:42:39 +00:00

31 lines
861 B
Diff

From 4a9cb089006a7d8ed18f64d4094f95e99ee196df Mon Sep 17 00:00:00 2001
From: Andrew Jeffery <andrew@aj.id.au>
Date: Mon, 27 Apr 2020 09:49:24 +0930
Subject: [PATCH 138/147] Makefile: Add install-user target
Script some of the behaviour previously captured in the readme as
instructions to execute manually.
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
---
Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Makefile b/Makefile
index 0e31de5..2fb39fa 100644
--- a/Makefile
+++ b/Makefile
@@ -102,3 +102,9 @@ test-docs:
test-style:
jshint --config .jshint.cfg extension/
+
+.PHONY: install-user
+install-user: dist
+ rm -rf ${HOME}/.local/share/gnome-shell/extensions/$(UUID)
+ mkdir -p ${HOME}/.local/share/gnome-shell/extensions/$(UUID)
+ tar xfz dist/$(UUID).tar.gz -C ${HOME}/.local/share/gnome-shell/extensions/$(UUID)
--
2.31.1