Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable local install, mirroring approach in icons repo. #104

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ install:
mkdir -p $(DESTDIR)$(PREFIX)/share
cp -R $(THEMES) $(DESTDIR)$(PREFIX)/share

local-install: install
mkdir -p $(HOME)/.config/Kvantum
mv $(DESTDIR)$(PREFIX)/share/Kvantum/Arc $(HOME)/.config/Kvantum
mv $(DESTDIR)$(PREFIX)/share/Kvantum/ArcDark $(HOME)/.config/Kvantum
mv $(DESTDIR)$(PREFIX)/share/Kvantum/ArcDarker $(HOME)/.config/Kvantum

uninstall:
-rm -rf $(DESTDIR)$(PREFIX)/share/aurorae/themes/Arc
-rm -rf $(DESTDIR)$(PREFIX)/share/aurorae/themes/Arc-Dark
Expand All @@ -34,6 +40,11 @@ uninstall:
-rm -rf $(DESTDIR)$(PREFIX)/share/yakuake/skins/arc
-rm -rf $(DESTDIR)$(PREFIX)/share/yakuake/skins/arc-dark

local-uninstall: uninstall
-rm -rf $(HOME)/.config/Kvantum/Arc
-rm -rf $(HOME)/.config/Kvantum/ArcDark
-rm -rf $(HOME)/.config/Kvantum/ArcDarker

_get_version:
$(eval VERSION := $(shell git show -s --format=%cd --date=format:%Y%m%d HEAD))
@echo $(VERSION)
Expand All @@ -51,7 +62,7 @@ undo_release: _get_version
-git push --delete origin $(VERSION)


.PHONY: all install uninstall _get_version dist release undo_release
.PHONY: all install local-install uninstall local-uninstall _get_version dist release undo_release

# .BEGIN is ignored by GNU make so we can use it as a guard
.BEGIN:
Expand Down