diff --git a/.gitignore b/.gitignore index 8cc2bc7..c079b48 100644 --- a/.gitignore +++ b/.gitignore @@ -30,5 +30,6 @@ test/zznop test/bug-div0 test/bug-memory test/bug-overflow +doc/zzcat.1 doc/zzuf.1 doc/libzzuf.3 diff --git a/configure.ac b/configure.ac index 7915f74..15ac4ad 100644 --- a/configure.ac +++ b/configure.ac @@ -164,6 +164,7 @@ AC_CONFIG_FILES([ test/Makefile ]) AC_CONFIG_FILES([ + doc/zzcat.1 doc/zzuf.1 doc/libzzuf.3 ]) diff --git a/doc/Makefile.am b/doc/Makefile.am index d6a013a..ac940b5 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,6 +1,6 @@ # $Id: Makefile.am 871 2006-09-25 15:58:33Z sam $ -EXTRA_DIST = zzuf.1.in libzzuf.3.in +EXTRA_DIST = zzuf.1.in libzzuf.3.in zzcat.1.in -man_MANS = zzuf.1 libzzuf.3 +man_MANS = zzuf.1 libzzuf.3 zzcat.1 diff --git a/doc/zzcat.1.in b/doc/zzcat.1.in new file mode 100644 index 0000000..1e7958e --- /dev/null +++ b/doc/zzcat.1.in @@ -0,0 +1,31 @@ +.TH zzcat 1 "2010-01-07" "zzcat @PACKAGE_VERSION@" +.SH NAME +zzcat \- debugging tool for zzuf +.SH SYNOPSIS +\fBzzcat\fR PROGRAM FILE +.SH DESCRIPTION +.PP +\fBzzcat\fR is a tool to read files using various strategies. It is +primarily used as a debugging tool for \fBzzuf\fR. +.SH USAGE +.PP +\fB zzcat "fread(1,10000)" /dev/zero\fR +.SH EXAMPLES +.PP +To do. +.SH SEE ALSO +.PP +\fBzzuf(3)\fR, \fBlibzzuf(3)\fR +.SH AUTHOR +.PP +Copyright \(co 2002, 2007\-2010 Sam Hocevar . +.PP +\fBzzcat\fR and this manual page are free software. They come without any +warranty, to the extent permitted by applicable law. You can redistribute +them and/or modify them under the terms of the Do What The Fuck You Want +To Public License, Version 2, as published by Sam Hocevar. See +\fBhttp://sam.zoy.org/wtfpl/COPYING\fR for more details. +.PP +\fBzzuf\fR's webpage can be found at \fBhttp://caca.zoy.org/wiki/zzuf\fR. +An overview of the architecture and inner works is at +\fBhttp://caca.zoy.org/wiki/zzuf/internals\fR. diff --git a/doc/zzuf.1.in b/doc/zzuf.1.in index 9b8b28c..bec36c4 100644 --- a/doc/zzuf.1.in +++ b/doc/zzuf.1.in @@ -430,7 +430,7 @@ descriptor operations is undefined. multimedia stream corrupter used to find bugs in the VLC media player. .SH SEE ALSO .PP -\fBlibzzuf(3)\fR +\fBlibzzuf(3)\fR, \fBzzcat(1)\fR .SH AUTHOR .PP Copyright \(co 2002, 2007\-2010 Sam Hocevar . diff --git a/test/Makefile.am b/test/Makefile.am index 69646b0..79c849b 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,7 +1,8 @@ EXTRA_DIST = $(TESTS) functions.inc file-00 file-ff file-random file-text -noinst_PROGRAMS = zzcat zzero zznop bug-overflow bug-memory bug-div0 +bin_PROGRAMS = zzcat +noinst_PROGRAMS = zzero zznop bug-overflow bug-memory bug-div0 TESTS = check-build check-md5 check-overflow check-memory check-div0 \ check-rng check-utils