From bd07e458e574c64c6d7bec9b2527d50f72381dcd Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 21 Aug 2013 13:42:13 +0200 Subject: split install to install-bin and install-doc --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c87c98a..e255452 100644 --- a/Makefile +++ b/Makefile @@ -18,9 +18,13 @@ udev-block-notify: udev-block-notify.c README.html: README.md $(MD) README.md > README.html -install: +install: install-bin install-doc + +install-bin: $(INSTALL) -D -m0755 udev-block-notify $(DESTDIR)/usr/bin/udev-block-notify $(INSTALL) -D -m0644 udev-block-notify.desktop $(DESTDIR)/etc/xdg/autostart/udev-block-notify.desktop + +install-doc: $(INSTALL) -D -m0644 README.md $(DESTDIR)/usr/share/doc/udev-block-notify/README.md $(INSTALL) -D -m0644 README.html $(DESTDIR)/usr/share/doc/udev-block-notify/README.html $(INSTALL) -D -m0644 screenshot.png $(DESTDIR)/usr/share/doc/udev-block-notify/screenshot.png -- cgit v1.2.3-54-g00ecf