papirus-icon-theme/Makefile
Sergei Eremenko 424cec4b43 Remove gtk-update-icon-cache from Makefile
Please add gtk-update-icon-cache to post-install scripts of your package.
2017-01-11 19:11:37 +02:00

35 lines
827 B
Makefile

all: install
install:
mkdir -p $(DESTDIR)/usr/share/icons
cp --no-preserve=mode,ownership -r \
ePapirus \
Papirus \
Papirus-Light \
Papirus-Dark \
$(DESTDIR)/usr/share/icons
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 DATE := $(shell git log -1 --format=%cd --date=format:%Y.%m.%d))
$(eval COUNT := $(shell git rev-list --all --count))
$(eval VERSION := $(DATE)-r$(COUNT))
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)
.PHONY: all install uninstall _get_version push release undo_release