2019-11-04 23:10:47 +00:00
|
|
|
SHELL = /bin/bash
|
|
|
|
PREFIX= /usr
|
2019-11-05 00:53:40 +00:00
|
|
|
THEME_DIR= $(PREFIX)/share/themes/tromjaro-gdm-theme
|
2019-11-04 23:10:47 +00:00
|
|
|
ICON_DIR_USER= /etc/skel
|
|
|
|
THEME= $(wildcard theme/*.svg) \
|
|
|
|
$(wildcard theme/*.png) \
|
|
|
|
$(wildcard theme/*.css) \
|
|
|
|
$(wildcard theme/*.gresource) \
|
|
|
|
$(wildcard theme/*.xml)
|
|
|
|
THEME_ICON= $(wildcard theme/icons/*)
|
|
|
|
ICON_USER= $(wildcard .face)
|
|
|
|
|
|
|
|
install:
|
|
|
|
install -dm755 $(DESTDIR)$(ICON_DIR_USER)
|
|
|
|
install -m644 $(ICON_USER) $(DESTDIR)$(ICON_DIR_USER)
|
|
|
|
install -dm755 $(DESTDIR)$(THEME_DIR)
|
|
|
|
install -m644 $(THEME) $(DESTDIR)$(THEME_DIR)
|
|
|
|
install -m644 $(THEME_ICON) $(DESTDIR)$(THEME_DIR)/icons
|
|
|
|
|
|
|
|
uninstall:
|
|
|
|
rm -Rf $(DESTDIR)$(THEME_DIR)
|
|
|
|
rm -f $(DESTDIR)$(ICON_DIR_USER)/$(ICON_USER)
|
|
|
|
|
|
|
|
.PHONY: install uninstall
|