blob: 51cf5565be1df24f73f893004c8fe6c8c8360c25 (
about) (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# Makefile for mkinitcpio-passwd
VERSION=0.2.0
all:
@echo "Just run make install..."
.PHONY: install
install:
install -D -m0644 hook/passwd $(DESTDIR)/usr/lib/initcpio/hooks/passwd
install -D -m0644 install/passwd $(DESTDIR)/usr/lib/initcpio/install/passwd
release:
git archive --format=tar.xz --prefix=mkinitcpio-passwd-$(VERSION)/ $(VERSION) > mkinitcpio-passwd-$(VERSION).tar.xz
gpg --armor --detach-sign --comment mkinitcpio-passwd-$(VERSION).tar.xz mkinitcpio-passwd-$(VERSION).tar.xz
git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=mkinitcpio-passwd-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign --comment mkinitcpio-passwd-$(VERSION).tar | git hash-object -w --stdin) $(VERSION)
|