commit: 26313f31f85274d229ce34930acca513a5ceaaf0
parent 0b749b3301c5963546667034d23f15627e305a5c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 25 May 2022 20:49:50 +0200
Makefile: install index.theme
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,7 +4,7 @@ NAME = ultrasharp
PREFIX ?= /usr
DATADIR ?= $(PREFIX)/share
ICONDIR ?= $(DATADIR)/icons
-XCURSORDIR = $(ICONDIR)/$(NAME)/cursors
+THEMEDIR = $(ICONDIR)/$(NAME)
all: cursors.mk cursors/text cursors/arrow cursors/pointer cursors/vertical-text
@@ -20,5 +20,6 @@ clean:
.PHONY: install
install: all
- mkdir -p $(DESTDIR)$(XCURSORDIR)
- cp -r cursors/ $(DESTDIR)$(XCURSORDIR)/..
+ mkdir -p $(DESTDIR)$(THEMEDIR)/
+ cp -r cursors $(DESTDIR)$(THEMEDIR)/
+ cp index.theme $(DESTDIR)$(THEMEDIR)/