aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2015-10-24 15:06:08 -0400
committerNicholas Bishop <nicholasbishop@gmail.com>2015-10-24 15:06:08 -0400
commit3411a6242ba6bc2217a5f3822d474384237a9569 (patch)
tree22596824e7dd9cabf0d3a59131d89e87e04e45d0 /Makefile
parentAdd a tiny makefile for installing to /usr/local (diff)
downloadxbright-3411a6242ba6bc2217a5f3822d474384237a9569.tar.gz
xbright-3411a6242ba6bc2217a5f3822d474384237a9569.tar.bz2
xbright-3411a6242ba6bc2217a5f3822d474384237a9569.zip
Add icon
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9cb818c..06fab1d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,14 @@
+PREFIX=/usr
+BINDIR=${PREFIX}/bin
+ICODIR=${PREFIX}/share/icons/hicolor/256x256/apps
+APPDIR=${PREFIX}/share/applications
+
install:
- install xsft.py /usr/local/bin
- install xrandr-slightly-fewer-tears.desktop /usr/local/share/applications
+ install -Dv xsft.py ${BINDIR}
+ install -Dv xsft.png ${ICODIR}
+ install -Dv xrandr-slightly-fewer-tears.desktop ${APPDIR}
+
+uninstall:
+ rm -f ${BINDIR}/xsft.py
+ rm -f ${ICODIR}/xsfticon.png
+ rm -f ${APPDIR}/xrandr-slightly-fewer-tears.desktop
bgstack15