about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5c9b086..2614ff2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+PREFIX = /usr/local
+
 CURL ?= curl
 TAR ?= tar
 
@@ -35,3 +37,11 @@ STRIP.posix = 1
 
 clean:
 	rm -fr ${SYSTEMS} *.tar
+
+install: exman ${SYSTEMS}
+	install -d ${PREFIX}/bin ${PREFIX}/share/exman
+	install exman ${PREFIX}/bin
+	${TAR} -c -f - ${SYSTEMS} | ${TAR} -xo -f - -C ${PREFIX}/share/exman
+
+uninstall:
+	rm -fr ${PREFIX}/bin/exman ${PREFIX}/share/exman
ass='logsubject'>Allow redirecting input in everJune McEnroe 2020-05-31Add %c conversion to c scriptJune McEnroe 2020-05-31Add c script to READMEJune McEnroe 2020-05-31Add c scriptJune McEnroe 2020-05-31Update mdoc source URLsJune McEnroe 2020-05-26Remove unfinished PSF fontsJune McEnroe