diff options
author | Christian Hesse <mail@eworm.de> | 2018-06-06 16:12:02 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2018-06-06 16:12:02 +0200 |
commit | 95b1eba04a67ed1cf468710dc84d4707404acbe2 (patch) | |
tree | b5b7ee0136f978023522cb4064cd4eb7b7cd3d8c /Makefile | |
parent | 9141f2aaf5ee9450843752c3a3cf29db6ea358f4 (diff) | |
download | mkinitcpio-randommac-95b1eba04a67ed1cf468710dc84d4707404acbe2.tar.gz mkinitcpio-randommac-95b1eba04a67ed1cf468710dc84d4707404acbe2.tar.zst |
add Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ad0840e --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +# Makefile for mkinitcpio-randommac + +VERSION=0.1.0 + +all: + @echo "Just run make install..." + +.PHONY: install +install: + install -D -m0644 hook/randommac $(DESTDIR)/usr/lib/initcpio/hooks/randommac + install -D -m0644 install/randommac $(DESTDIR)/usr/lib/initcpio/install/randommac + +release: + git archive --format=tar.xz --prefix=mkinitcpio-randommac-$(VERSION)/ $(VERSION) > mkinitcpio-randommac-$(VERSION).tar.xz + gpg -ab mkinitcpio-randommac-$(VERSION).tar.xz + git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=mkinitcpio-randommac-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION) |