Compare commits
6 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
923eab650c | ||
![]() |
b3360db958 | ||
![]() |
941989f86e | ||
![]() |
20ce7fc7fe | ||
![]() |
878456d92a | ||
![]() |
e1b83c3e9f |
35
Makefile
Normal file
35
Makefile
Normal file
@@ -0,0 +1,35 @@
|
||||
Version=0.4
|
||||
|
||||
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
|
Reference in New Issue
Block a user