aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-06-22 10:47:39 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-06-22 10:52:11 +0200
commit886412f29ed7ea23f98d6cf9016603fb1a71a114 (patch)
treecdff8d510517a969cd38d9c15f399bf3270440d5 /Makefile
parent64919b3fdaa41fbdb857cc2b1f4680dd30f14727 (diff)
downloadmkinitcpio-ykfde-886412f29ed7ea23f98d6cf9016603fb1a71a114.tar.gz
mkinitcpio-ykfde-886412f29ed7ea23f98d6cf9016603fb1a71a114.tar.zst
rename the worker program
This is no longer just udev... So rename and move.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 5c2b677..42698e9 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,10 @@ VERSION := 0.6.4
.DELETE_ON_ERROR:
-all: bin/ykfde bin/ykfde-cpio udev/ykfde README.html README-mkinitcpio.html README-dracut.html
+all: bin/worker bin/ykfde bin/ykfde-cpio README.html README-mkinitcpio.html README-dracut.html
+
+bin/worker: bin/worker.c config.h
+ $(MAKE) -C bin worker
bin/ykfde: bin/ykfde.c config.h version.h
$(MAKE) -C bin ykfde
@@ -18,9 +21,6 @@ bin/ykfde: bin/ykfde.c config.h version.h
bin/ykfde-cpio: bin/ykfde-cpio.c config.h version.h
$(MAKE) -C bin ykfde-cpio
-udev/ykfde: udev/ykfde.c config.h
- $(MAKE) -C udev ykfde
-
config.h: config.def.h
$(CP) config.def.h config.h
@@ -35,9 +35,8 @@ version.h: $(wildcard .git/HEAD .git/index .git/refs/tags/*) Makefile
install: install-mkinitcpio
-install-bin: bin/ykfde udev/ykfde
+install-bin: bin/worker bin/ykfde bin/ykfde-cpio
$(MAKE) -C bin install
- $(MAKE) -C udev install
$(INSTALL) -D -m0644 conf/ykfde.conf $(DESTDIR)/etc/ykfde.conf
$(INSTALL) -D -m0755 grub/09_linux $(DESTDIR)/etc/grub.d/09_linux
$(INSTALL) -D -m0644 systemd/ykfde.service $(DESTDIR)/usr/lib/systemd/system/ykfde.service
@@ -65,7 +64,6 @@ install-dracut: install-bin install-doc
clean:
$(MAKE) -C bin clean
- $(MAKE) -C udev clean
$(RM) -f README.html README-mkinitcpio.html README-dracut.html version.h
distclean: clean