aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2018-06-06 15:47:57 +0200
committerGravatar Christian Hesse <mail@eworm.de>2018-06-06 15:47:57 +0200
commit87e0b12164168f214afa0954d30b7783577d8868 (patch)
treeecb57f0d73bdef0f3755eb660b32755c3129c557
parent97f275d5ce49de6ef9d6541ba31a4eeebc90697b (diff)
downloadmkinitcpio-chkeymap-87e0b12164168f214afa0954d30b7783577d8868.tar.gz
mkinitcpio-chkeymap-87e0b12164168f214afa0954d30b7783577d8868.tar.xz
add Makefile
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..424f12a
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+# Makefile for mkinitcpio-chkeymap
+
+VERSION=0.1.0
+
+all:
+ @echo "Just run make install..."
+
+.PHONY: install
+install:
+ install -D -m0644 hook/chkeymap $(DESTDIR)/usr/lib/initcpio/hooks/chkeymap
+ install -D -m0644 install/chkeymap $(DESTDIR)/usr/lib/initcpio/install/chkeymap
+
+ install -D -m0644 etc/vconsole.conf $(DESTDIR)/etc/vconsole.conf
+ install -D -m0644 etc/00-keyboard.conf $(DESTDIR)/etc/X11/xorg.conf.d/00-keyboard.conf
+
+release:
+ git archive --format=tar.xz --prefix=mkinitcpio-chkeymap-$(VERSION)/ $(VERSION) > mkinitcpio-chkeymap-$(VERSION).tar.xz
+ gpg -ab mkinitcpio-chkeymap-$(VERSION).tar.xz
+ git notes --ref=refs/notes/signatures/tar add -C $$(git archive --format=tar --prefix=mkinitcpio-chkeymap-$(VERSION)/ $(VERSION) | gpg --armor --detach-sign | git hash-object -w --stdin) $(VERSION)