summaryrefslogtreecommitdiff
path: root/parabola-keyring/Makefile
blob: 5e1801519e5de1af087b8c951e761e2f83b58d3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
V=20130723

PREFIX = /usr/local

install:
	install -dm755 $(DESTDIR)$(PREFIX)/share/pacman/keyrings/
	install -m0644 parabola{.gpg,-trusted,-revoked} $(DESTDIR)$(PREFIX)/share/pacman/keyrings/

uninstall:
	rm -f $(DESTDIR)$(PREFIX)/share/pacman/keyrings/parabola{.gpg,-trusted,-revoked}
	rmdir -p --ignore-fail-on-non-empty $(DESTDIR)$(PREFIX)/share/pacman/keyrings/

dist:
	mkdir -pv parabola-keyring-$(V)/
	cp -v Makefile parabola.gpg parabola-revoked parabola-trusted parabola-keyring-$(V)/
	bsdtar czf parabola-keyring-$(V).tar.gz parabola-keyring-$(V)/
	gpg --detach-sign --use-agent parabola-keyring-$(V).tar.gz
	rm -rv parabola-keyring-$(V)/

upload:
	scp parabola-keyring-$(V).tar.gz parabola-keyring-$(V).tar.gz.sig parabola:public/other/

.PHONY: install uninstall dist upload