mirror of
https://github.com/PapirusDevelopmentTeam/papirus-icon-theme.git
synced 2024-10-18 09:10:34 -04:00
424cec4b43
Please add gtk-update-icon-cache to post-install scripts of your package.
35 lines
827 B
Makefile
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
|