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