Add make release + update manpage
This commit is contained in:
parent
b90fa72cfb
commit
a3fcde842a
9
Makefile
9
Makefile
@ -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
|
||||
|
2
xpick.1
2
xpick.1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user