2017-01-15 07:46:42 -05:00
|
|
|
all:
|
2017-01-10 07:47:39 -05:00
|
|
|
|
|
|
|
install:
|
|
|
|
mkdir -p $(DESTDIR)/usr/share/icons
|
|
|
|
cp --no-preserve=mode,ownership -r \
|
2017-01-11 11:49:01 -05:00
|
|
|
ePapirus \
|
|
|
|
Papirus \
|
|
|
|
Papirus-Light \
|
|
|
|
Papirus-Dark \
|
|
|
|
$(DESTDIR)/usr/share/icons
|
2017-01-10 07:47:39 -05:00
|
|
|
|
2017-01-12 04:34:03 -05:00
|
|
|
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
|
|
|
|
|
2017-01-10 07:47:39 -05:00
|
|
|
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:
|
2017-01-18 13:24:23 -05:00
|
|
|
$(eval VERSION := $(shell git show -s --format=%cd --date=format:%Y%m%d HEAD))
|
2017-01-12 04:43:54 -05:00
|
|
|
@echo $(VERSION)
|
2017-01-10 07:47:39 -05:00
|
|
|
|
|
|
|
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)
|
|
|
|
|
2017-02-25 17:22:08 -05:00
|
|
|
tests:
|
|
|
|
# Printing all broken symlinks
|
|
|
|
@find . -xtype l -not -path './tools/work/*' -print
|
2017-01-10 07:47:39 -05:00
|
|
|
|
2017-02-25 17:22:08 -05:00
|
|
|
|
|
|
|
.PHONY: all install uninstall _get_version push release undo_release tests
|