From 0e7d4364e02d78f69046155dcd894edc23c57a92 Mon Sep 17 00:00:00 2001 From: Nate Hart Date: Thu, 17 Sep 2015 21:52:47 -0400 Subject: [PATCH] Added install rules for Compton logo --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index e66f3223..d57cb1f5 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ PREFIX ?= /usr BINDIR ?= $(PREFIX)/bin MANDIR ?= $(PREFIX)/share/man/man1 APPDIR ?= $(PREFIX)/share/applications +ICODIR ?= $(PREFIX)/share/icons/hicolor/ PACKAGES = x11 xcomposite xfixes xdamage xrender xext xrandr LIBS = -lm -lrt @@ -155,6 +156,8 @@ install: $(BINS) docs ifneq "$(MANPAGES)" "" @install -m644 $(MANPAGES) "$(DESTDIR)$(MANDIR)"/ endif + @install -m644 media/compton.svg "$(DESTDIR)$(ICODIR)/scalable/apps"/ + @install -m644 media/icons/48x48/compton.png "$(DESTDIR)$(ICODIR)/48x48/apps"/ @install -m644 compton.desktop "$(DESTDIR)$(APPDIR)"/ ifneq "$(DOCDIR)" "" @install -d "$(DESTDIR)$(DOCDIR)"