summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:42:13 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-08-21 13:42:13 +0200
commitbd07e458e574c64c6d7bec9b2527d50f72381dcd (patch)
treef5bac7614e1df848d89c734b926f41272adc5d20 /Makefile
parentfce25cd2ccb08ae09eb19d7fee4e87b5aab9c177 (diff)
downloadudev-block-notify-bd07e458e574c64c6d7bec9b2527d50f72381dcd.tar.gz
udev-block-notify-bd07e458e574c64c6d7bec9b2527d50f72381dcd.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 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