From 5d14fa298bede7d14f9d89c54d8d52e868586c5f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Wed, 21 Aug 2013 13:51:03 +0200 Subject: split install to install-bin and install-doc --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') 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 -- cgit v1.2.3-70-g09d2