aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: 5e0e67dec3b0e82965ea49f0e579da8dc69a1da5 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# commands
INSTALL := install

all: udev/ykfde

udev/ykfde: udev/ykfde.c
	$(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