2 Commits
0.3 ... 0.3.2

Author SHA1 Message Date
udeved
878456d92a fix Makefile 2017-07-27 16:44:41 +02:00
udeved
e1b83c3e9f add Makefile 2017-07-27 15:42:19 +02:00

35
Makefile Normal file
View File

@@ -0,0 +1,35 @@
Version=0.3.2
PREFIX = /usr/local
SYSCONFDIR = /etc
ICONS = \
$(wildcard icons/*.svg) \
$(wildcard icons/*.png)
BACKGROUNDS = \
$(wildcard backgrounds/*.jpg)
install_icons:
install -dm0755 $(DESTDIR)$(PREFIX)/share/icons/artix
install -m0644 ${ICONS} $(DESTDIR)$(PREFIX)/share/icons/artix
install_backgrounds:
install -dm0755 $(DESTDIR)$(PREFIX)/share/backgrounds
install -m0755 ${BACKGROUNDS} $(DESTDIR)$(PREFIX)/share/backgrounds
uninstall_icons:
for f in ${ICONS}; do rm -f $(DESTDIR)$(PREFIX)/share/icons/artix/$$f; done
uninstall_backgrounds:
for f in ${BACKGROUNDS}; do rm -f $(DESTDIR)$(PREFIX)/share/backgrounds/$$f; done
install: install_icons install_backgrounds
uninstall: uninstall_icons uninstall_backgrounds
dist:
git archive --format=tar --prefix=desktop-presets-$(Version)/ $(Version) | gzip -9 > desktop-presets-$(Version).tar.gz
gpg --detach-sign --use-agent desktop-presets-$(Version).tar.gz
.PHONY: install uninstall dist