summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-03-14 14:30:16 +0100
committerGravatar Christian Hesse <mail@eworm.de>2014-03-14 14:30:16 +0100
commitfd3935d721a43141254f86864b195a6a6ceedd77 (patch)
tree018d4b00d0e03684480eb2f7dbd80b7bcd2a0d30 /Makefile
parent68a220bd2148c9544bf946878304a826fceea54a (diff)
downloadmkinitcpio-ykfde-fd3935d721a43141254f86864b195a6a6ceedd77.tar.gz
mkinitcpio-ykfde-fd3935d721a43141254f86864b195a6a6ceedd77.tar.zst
replace scripts with a C program
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..496f6ca
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,15 @@
+INSTALL := install
+
+all: udev/ykfde
+
+udev/ykfde:
+ $(MAKE) -C udev
+
+install: udev/ykfde
+ $(MAKE) -C udev install
+ $(INSTALL) -D -m0644 conf/ykfde.conf $(DESTDIR)/etc/ykfde.conf
+ $(INSTALL) -D -m0755 bin/ykfde $(DESTDIR)/usr/bin/ykfde
+ $(INSTALL) -D -m0644 install/ykfde $(DESTDIR)/usr/lib/initcpio/install/ykfde
+
+clean:
+ $(MAKE) -C udev clean