mirror of
https://github.com/yshui/picom.git
synced 2025-04-07 17:44:04 -04:00
Misc: Create directories for icons before installing them
Misc: Create directories for icons before installing them. This fixes the install failure if the DESTDIR used when executing `make install` does not contain the icon directories. It could appear when the user does not wish to directly install the software to the system, like in Gentoo ebuild or Arch Linux AUR building.
This commit is contained in:
parent
6deda6a95f
commit
d7f95b56b1
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -156,6 +156,9 @@ install: $(BINS) docs
|
|||
ifneq "$(MANPAGES)" ""
|
||||
@install -m644 $(MANPAGES) "$(DESTDIR)$(MANDIR)"/
|
||||
endif
|
||||
@install -d \
|
||||
"$(DESTDIR)$(ICODIR)/scalable/apps" \
|
||||
"$(DESTDIR)$(ICODIR)/48x48/apps"
|
||||
@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)"/
|
||||
|
|
Loading…
Add table
Reference in a new issue