Add make release + update manpage

This commit is contained in:
sdk 2021-07-19 06:28:56 +00:00
parent b90fa72cfb
commit a3fcde842a
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,6 @@
.POSIX:
VERSION = 1.0
PREFIX ?= /usr/local
PKG_CONFIG = pkg-config
@ -22,4 +23,12 @@ uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/xpick
rm -f $(DESTDIR)$(PREFIX)/man/man1/xpick.1
release:
rm -rf xpick-$(VERSION)*
mkdir xpick-$(VERSION)
cp Makefile xpick.c xpick.1 README xpick-$(VERSION)/
tar czf xpick-$(VERSION).tar.gz xpick-$(VERSION)
rm -rf xpick-$(VERSION)
.PHONY: all clean install uninstall

View File

@ -17,7 +17,7 @@ show XTerm nearest terminal color
.SH DESCRIPTION
\fBxpick\fR is a very simple color picker. When started, you can click
on any pixel on your X display and it will output the color according to
the parameters given. The parameters can be combined.
the parameters given on the command line. The parameters can be combined.
.SH CREDITS
The XTerm nearest terminal color logic has been taken from the tmux