blob: c4b507c8228db507ca54fbd86db577711716c27d (
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.1.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)
|