aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:46:35 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:46:35 +0200
commit9e81154812a2b7b78a1d60fc43826a20701f38e6 (patch)
tree9c779a915cf8811c256fc79cc25f641ecba197b5 /Makefile
parent2dbf93eb30e6637f3b23bc902b9ad4e6c207688b (diff)
downloadnetlink-notify-9e81154812a2b7b78a1d60fc43826a20701f38e6.tar.gz
netlink-notify-9e81154812a2b7b78a1d60fc43826a20701f38e6.tar.zst
split install to install-bin and install-doc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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