diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
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 |