Add a man page for zpak

It's lame, but so is zpak :)
This commit is contained in:
Jeff Teunissen 2010-12-24 16:23:52 -05:00
parent b874c28ad5
commit 8653f9d9a7
4 changed files with 61 additions and 2 deletions

View file

@ -458,6 +458,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(-,root,root) %{_prefix}/bin/qfprogs
%attr(-,root,root) %{_prefix}/bin/qfwavinfo
%attr(-,root,root) %{_prefix}/share/man/man1/pak.1.gz
%attr(-,root,root) %{_prefix}/share/man/man1/zpak.1.gz
#%attr(-,root,root) %{_prefix}/share/man/man1/qfprogs.1.gz
#%attr(-,root,root) %{_prefix}/share/man/man1/qfwavinfo.1.gz

View file

@ -4,3 +4,4 @@ usr/bin/zpak
usr/bin/qfwavinfo
usr/share/man/man1/pak.1
usr/share/man/man1/wad.1
usr/share/man/man1/zpak.1

View file

@ -9,7 +9,7 @@ INCLUDES= -I$(top_srcdir)/include $(PAK_INCS)
if BUILD_PAK
pak=pak
zpak=zpak
mans=pak.1
mans=pak.1 zpak.1
else
pak=
zpak=
@ -26,4 +26,4 @@ pak_SOURCES= pak.c
pak_LDADD= $(PAK_LIBS)
pak_DEPENDENCIES= $(PAK_DEPS)
EXTRA_DIST= pak.h pak.1 zpak
EXTRA_DIST= pak.h pak.1 zpak zpak.1

57
tools/pak/zpak.1 Normal file
View file

@ -0,0 +1,57 @@
.\" hey, Emacs: -*- nroff -*-
.\" zpak is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\"
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.\"
.\" See the GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public License
.\" along with this program; see the file COPYING. If not, write to:
.\"
.\" Free Software Foundation, Inc.
.\" 59 Temple Place, Suite 330
.\" Boston, MA 02111-1307, USA
.\"
.\" Some roff macros, for reference:
.\" .nh disable hyphenation
.\" .hy enable hyphenation
.\" .ad l left justify
.\" .ad b justify to both left and right margins (default)
.\" .nf disable filling
.\" .fi enable filling
.\" .br insert line break
.\" .sp <n> insert n+1 empty lines
.\" for manpage-specific macros, see man(7)
.\"
.TH ZPAK 1 "December 24, 2010" QuakeForge "QuakeForge User's Manual"
.\" Please update the above date whenever this man page is modified.
.SH NAME
zpak \- create pak files with gzipped internals
.SH SYNOPSIS
.B zpak
<\fIFILE\fP>...
.SH DESCRIPTION
\fBzpak\fP is a small utility for compressing the contents of Quake/Quake II
pak files, which allows QuakeForge servers to send compressed downloads to
clients.
.SH OPTIONS
\fBzpak\fP has no options.
.SH "EXIT STATUS"
\fBzpak\fP returns a zero exit status when it has completed a command
successfully (without error). Otherwise, it returns a non-zero exit status.
.SH BUGS
.PP
This program sucks, and should not be necessary -- \fBpak\fP(1) should be able
to do the job.
.SH AUTHORS
Bill Currie (taniwha@quakeforge.net) wrote the program.
.PP
Jeff Teunissen (deek@quakeforge.net) wrote the documentation.
.SH "SEE ALSO"
.BR quakeforge (1),
.BR pak (1)