summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-07-08 11:36:33 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-07-08 11:36:33 +0200
commit58ee6ac2f79873f621e5d3eb87db4b094ae9c9cd (patch)
treed3acaec6ebf95f829d11d3b9e674ca1a2b7c390c
parentb769f4fc271f38318458ae9938f96cd2e6287452 (diff)
downloadnetlink-notify-58ee6ac2f79873f621e5d3eb87db4b094ae9c9cd.tar.gz
netlink-notify-58ee6ac2f79873f621e5d3eb87db4b094ae9c9cd.tar.zst
add DESTDIR variable to install path
-rw-r--r--Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index f40abde..a96f069 100644
--- a/Makefile
+++ b/Makefile
@@ -19,14 +19,14 @@ icons:
$(CONVERT) netlink-notify-address.png netlink-notify-address.svg
install:
- $(INSTALL) -D -m0755 netlink-notify /usr/bin/netlink-notify
- $(INSTALL) -D -m0644 netlink-notify.desktop /etc/xdg/autostart/netlink-notify.desktop
- $(INSTALL) -D -m0755 netlink-notify-up.svg /usr/share/icons/hicolor/scalable/status/netlink-notify-up.svg
- $(INSTALL) -D -m0755 netlink-notify-down.svg /usr/share/icons/hicolor/scalable/status/netlink-notify-down.svg
- $(INSTALL) -D -m0755 netlink-notify-address.svg /usr/share/icons/hicolor/scalable/status/netlink-notify-address.svg
- $(INSTALL) -D -m0755 netlink-notify-up.png /usr/share/icons/hicolor/48x48/status/netlink-notify-up.png
- $(INSTALL) -D -m0755 netlink-notify-down.png /usr/share/icons/hicolor/48x48/status/netlink-notify-down.png
- $(INSTALL) -D -m0755 netlink-notify-address.png /usr/share/icons/hicolor/48x48/status/netlink-notify-address.png
+ $(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
+ $(INSTALL) -D -m0755 netlink-notify-down.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/status/netlink-notify-down.svg
+ $(INSTALL) -D -m0755 netlink-notify-address.svg $(DESTDIR)/usr/share/icons/hicolor/scalable/status/netlink-notify-address.svg
+ $(INSTALL) -D -m0755 netlink-notify-up.png $(DESTDIR)/usr/share/icons/hicolor/48x48/status/netlink-notify-up.png
+ $(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
clean:
/bin/rm -f *.o *.png *~ netlink-notify