gdm-theme-settings/Makefile
davedatum 23a7402a75 init
2019-11-04 23:10:47 +00:00

25 lines
701 B
Makefile

SHELL = /bin/bash
PREFIX= /usr
THEME_DIR= $(PREFIX)/share/themes/manjaro-gdm-theme
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