annotate Makefile @ 54:4d411cdd68c1 draft

Updated manual page and added a Makefile
author novaburst
date Fri, 07 Jan 2022 23:20:51 +0000
parents
children c6785950280e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
54
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
1 destdir ?=
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
2 prefix ?= /usr/local
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
3
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
4 build:
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
5 go build -v
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
6 clean:
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
7 rm -f zs
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
8 install:
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
9 install -m0755 zs ${destdir}${prefix}/bin/zs
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
10 install -m0644 zs.1 ${destdir}${prefix}/share/man/man1/zs.1
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
11 uninstall:
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
12 rm -f ${prefix}/bin/zs
4d411cdd68c1 Updated manual page and added a Makefile
novaburst
parents:
diff changeset
13 rm -f ${prefix}/share/man/man1/zs.1