summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:51:03 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:51:03 +0200
commit5d14fa298bede7d14f9d89c54d8d52e868586c5f (patch)
tree6c8e893ccbe4c4647eed3d38dc7937c4d9a03a2f /Makefile
parent703b06e77b88b14ffcf962de040c4ebce5821b53 (diff)
downloadmpd-notification-5d14fa298bede7d14f9d89c54d8d52e868586c5f.tar.gz
mpd-notification-5d14fa298bede7d14f9d89c54d8d52e868586c5f.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 571417b..36b3bac 100644
--- a/Makefile
+++ b/Makefile
@@ -22,9 +22,13 @@ config.h:
README.html: README.md
$(MD) README.md > README.html
-install:
+install: install-bin install-doc
+
+install-bin: mpd-notification
$(INSTALL) -D -m0755 mpd-notification $(DESTDIR)/usr/bin/mpd-notification
$(INSTALL) -D -m0644 mpd-notification.desktop $(DESTDIR)/etc/xdg/autostart/mpd-notification.desktop
+
+install-doc: README.html
$(INSTALL) -D -m0644 README.md $(DESTDIR)/usr/share/doc/mpd-notification/README.md
$(INSTALL) -D -m0644 README.html $(DESTDIR)/usr/share/doc/mpd-notification/README.html
$(INSTALL) -D -m0644 screenshot.png $(DESTDIR)/usr/share/doc/mpd-notification/screenshot.png