forked from PapirusDevelopmentTeam/papirus-icon-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (39 loc) · 1.28 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
all:
install:
mkdir -p $(DESTDIR)/usr/share/icons
cp --no-preserve=mode,ownership -r \
ePapirus \
Papirus \
Papirus-Light \
Papirus-Dark \
$(DESTDIR)/usr/share/icons
post-install:
-gtk-update-icon-cache -q $(DESTDIR)/usr/share/icons/ePapirus
-gtk-update-icon-cache -q $(DESTDIR)/usr/share/icons/Papirus
-gtk-update-icon-cache -q $(DESTDIR)/usr/share/icons/Papirus-Dark
-gtk-update-icon-cache -q $(DESTDIR)/usr/share/icons/Papirus-Light
uninstall:
-rm -rf $(DESTDIR)/usr/share/icons/ePapirus
-rm -rf $(DESTDIR)/usr/share/icons/Papirus
-rm -rf $(DESTDIR)/usr/share/icons/Papirus-Dark
-rm -rf $(DESTDIR)/usr/share/icons/Papirus-Light
_get_version:
$(eval VERSION := $(shell git show -s --format=%cd --date=format:%Y%m%d HEAD))
@echo $(VERSION)
push:
git push origin
release: _get_version push
git tag -f $(VERSION)
git push origin --tags
undo_release: _get_version
-git tag -d $(VERSION)
-git push --delete origin $(VERSION)
tests:
# Printing all broken symlinks
@find . -xtype l -not -path './tools/work/*' -print
update_authors:
editor Papirus/AUTHORS
cp -f Papirus/AUTHORS ePapirus/AUTHORS
cp -f Papirus/AUTHORS Papirus-Dark/AUTHORS
cp -f Papirus/AUTHORS Papirus-Light/AUTHORS
.PHONY: all install uninstall _get_version push release undo_release tests update_authors