zs/Makefile

14 lines
259 B
Makefile
Raw Normal View History

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