aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-12-29 20:10:30 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-12-29 20:10:30 +0100
commit46a06971cbdc25015cdadf905bcd148093d6dfb7 (patch)
tree6b37b078cfb9413954f5368cdecd1c5f8434bc98 /Makefile
parent310b7a57bc03db660874eed67b049a910de369fd (diff)
downloadmkinitcpio-ykfde-46a06971cbdc25015cdadf905bcd148093d6dfb7.tar.gz
mkinitcpio-ykfde-46a06971cbdc25015cdadf905bcd148093d6dfb7.tar.zst
refactor install section and add hint about dracut
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
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