From 9e81154812a2b7b78a1d60fc43826a20701f38e6 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 21 Aug 2013 13:46:35 +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 401c3ce..f5c5e8a 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,9 @@ netlink-notify-away.png: netlink-notify-away.svg README.html: README.md $(MD) README.md > README.html -install: +install: install-bin install-doc + +install-bin: $(INSTALL) -D -m0755 netlink-notify $(DESTDIR)/usr/bin/netlink-notify $(INSTALL) -D -m0644 netlink-notify.desktop $(DESTDIR)/etc/xdg/autostart/netlink-notify.desktop $(INSTALL) -D -m0755 netlink-notify-up.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/status/netlink-notify-up.svg @@ -43,6 +45,8 @@ install: $(INSTALL) -D -m0755 netlink-notify-down.png $(DESTDIR)/usr/share/icons/hicolor/48x48/status/netlink-notify-down.png $(INSTALL) -D -m0755 netlink-notify-address.png $(DESTDIR)/usr/share/icons/hicolor/48x48/status/netlink-notify-address.png $(INSTALL) -D -m0755 netlink-notify-away.png $(DESTDIR)/usr/share/icons/hicolor/48x48/status/netlink-notify-away.png + +install-doc: $(INSTALL) -D -m0644 README.md $(DESTDIR)/usr/share/doc/netlink-notify/README.md $(INSTALL) -D -m0644 README.html $(DESTDIR)/usr/share/doc/netlink-notify/README.html $(INSTALL) -D -m0644 screenshot-away.png $(DESTDIR)/usr/share/doc/netlink-notify/screenshot-away.png -- cgit v1.2.3-70-g09d2