zs/Makefile
2022-01-08 09:20:51 +10:00

14 lines
259 B
Makefile

destdir ?=
prefix ?= /usr/local
build:
go build -v
clean:
rm -f zs
install:
install -m0755 zs ${destdir}${prefix}/bin/zs
install -m0644 zs.1 ${destdir}${prefix}/share/man/man1/zs.1
uninstall:
rm -f ${prefix}/bin/zs
rm -f ${prefix}/share/man/man1/zs.1