diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -6,7 +6,10 @@ RM := rm # a release tarball... VERSION := 0.3.4 -all: udev/ykfde README.html +all: bin/ykfde udev/ykfde README.html + +bin/ykfde: bin/ykfde.c + $(MAKE) -C bin udev/ykfde: udev/ykfde.c $(MAKE) -C udev @@ -16,11 +19,12 @@ README.html: README.md install: install-bin install-doc -install-bin: udev/ykfde +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 -m0755 bin/ykfde $(DESTDIR)/usr/bin/ykfde - $(INSTALL) -D -m0644 install/ykfde $(DESTDIR)/usr/lib/initcpio/install/ykfde + $(INSTALL) -D -m0644 mkinitcpio/ykfde $(DESTDIR)/usr/lib/initcpio/install/ykfde $(INSTALL) -d -m0700 $(DESTDIR)/etc/ykfde.d/ install-doc: README.md README.html @@ -28,6 +32,7 @@ install-doc: README.md README.html $(INSTALL) -D -m0644 README.html $(DESTDIR)/usr/share/doc/ykfde/README.html clean: + $(MAKE) -C bin clean $(MAKE) -C udev clean $(RM) -f README.html |