aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2022-12-08 00:05:23 +0100
committerGravatar Christian Hesse <mail@eworm.de>2022-12-08 00:05:23 +0100
commit5339430490829a0a011070a5ec22c0b42d574135 (patch)
tree4d9e3d457f2aea00714f0819e375e12294f883a0 /Makefile
parent104249dae688ed269aa67a358fe770bc10ce4cc3 (diff)
downloadmkinitcpio-uname-5339430490829a0a011070a5ec22c0b42d574135.tar.gz
mkinitcpio-uname-5339430490829a0a011070a5ec22c0b42d574135.tar.zst
clean up Makefile and add comments
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 1fedf90..3435c39 100644
--- a/Makefile
+++ b/Makefile
@@ -7,10 +7,13 @@ all:
.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