From 5339430490829a0a011070a5ec22c0b42d574135 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 8 Dec 2022 00:05:23 +0100 Subject: clean up Makefile and add comments --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2