aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 72f7dd1..2d146eb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,16 +1,19 @@
# Makefile for mkinitcpio-uname
-VERSION=0.2.0
+VERSION=0.2.2
all:
@echo "Just run make install..."
.PHONY: install
install:
+ # install script and unit file
+ install -D -m0755 systemd/uname $(DESTDIR)/usr/lib/systemd/scripts/uname
+ install -D -m0644 systemd/uname.service $(DESTDIR)/usr/lib/systemd/system/uname.service
+
+ # install install-script and hook for plain old script based initramfs
install -D -m0644 install/uname $(DESTDIR)/usr/lib/initcpio/install/uname
install -D -m0755 hook/uname $(DESTDIR)/usr/lib/initcpio/hooks/uname
- install -D -m0644 systemd/uname.service $(DESTDIR)/usr/lib/systemd/system/uname.service
- install -D -m0755 systemd/uname $(DESTDIR)/usr/lib/systemd/scripts/uname
release:
git archive --format=tar.xz --prefix=mkinitcpio-uname-$(VERSION)/ $(VERSION) > mkinitcpio-uname-$(VERSION).tar.xz