aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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