From 46a06971cbdc25015cdadf905bcd148093d6dfb7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 29 Dec 2014 20:10:30 +0100 Subject: refactor install section and add hint about dracut --- Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 81b7412..8f9f24d 100644 --- a/Makefile +++ b/Makefile @@ -24,14 +24,12 @@ config.h: config.def.h README.html: README.md $(MD) README.md > README.html -install: install-bin install-doc +install: install-mkinitcpio install-bin: bin/ykfde udev/ykfde $(MAKE) -C bin install $(MAKE) -C udev install $(INSTALL) -D -m0644 conf/ykfde.conf $(DESTDIR)/etc/ykfde.conf - $(INSTALL) -D -m0644 mkinitcpio/ykfde $(DESTDIR)/usr/lib/initcpio/install/ykfde - $(INSTALL) -D -m0644 mkinitcpio/ykfde-cpio $(DESTDIR)/usr/lib/initcpio/install/ykfde-cpio $(INSTALL) -D -m0644 systemd/ykfde-cpio.service $(DESTDIR)/usr/lib/systemd/system/ykfde-cpio.service $(INSTALL) -d -m0700 $(DESTDIR)/etc/ykfde.d/ @@ -39,6 +37,13 @@ install-doc: README.md README.html $(INSTALL) -D -m0644 README.md $(DESTDIR)/usr/share/doc/ykfde/README.md $(INSTALL) -D -m0644 README.html $(DESTDIR)/usr/share/doc/ykfde/README.html +install-mkinitcpio: install-bin install-doc + $(INSTALL) -D -m0644 mkinitcpio/ykfde $(DESTDIR)/usr/lib/initcpio/install/ykfde + $(INSTALL) -D -m0644 mkinitcpio/ykfde-cpio $(DESTDIR)/usr/lib/initcpio/install/ykfde-cpio + +install-dracut: install-bin install-doc + # porting to dracut? install your files here. + clean: $(MAKE) -C bin clean $(MAKE) -C udev clean -- cgit v1.2.3-70-g09d2