diff options
author | Christian Hesse <mail@eworm.de> | 2022-12-08 00:05:23 +0100 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2022-12-08 00:05:23 +0100 |
commit | 5339430490829a0a011070a5ec22c0b42d574135 (patch) | |
tree | 4d9e3d457f2aea00714f0819e375e12294f883a0 | |
parent | 104249dae688ed269aa67a358fe770bc10ce4cc3 (diff) | |
download | mkinitcpio-uname-5339430490829a0a011070a5ec22c0b42d574135.tar.gz mkinitcpio-uname-5339430490829a0a011070a5ec22c0b42d574135.tar.zst |
clean up Makefile and add comments
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |