mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
Generate PDF documentation from man pages for windows releases.
This commit is contained in:
parent
834e8d0d7d
commit
bbab8969d1
3 changed files with 7 additions and 1 deletions
|
@ -8,6 +8,11 @@ BINDIR := gmqcc-$(MAJOR).$(MINOR).$(PATCH)
|
|||
base:
|
||||
$(MAKE) CC=i486-mingw32-gcc UNAME=MINGW32 -C $(BASEDIR) clean
|
||||
$(MAKE) CC=i486-mingw32-gcc UNAME=MINGW32 -C $(BASEDIR) DESTDIR=distro/win32/$(BINDIR) PREFIX=/ install
|
||||
@mkdir -p $(BINDIR)/doc
|
||||
@groff -mandoc $(BINDIR)/man1/gmqpak.1 | ps2pdf - $(BINDIR)/doc/gmqpak.pdf
|
||||
@groff -mandoc $(BINDIR)/man1/qcvm.1 | ps2pdf - $(BINDIR)/doc/qcvm.pdf
|
||||
@groff -mandoc $(BINDIR)/man1/gmqcc.1 | ps2pdf - $(BINDIR)/doc/gmqcc.pdf
|
||||
@rm -rf $(BINDIR)/man1/
|
||||
@zip -r $(BINDIR)-win32.zip $(BINDIR)
|
||||
@rm -rf $(BINDIR)
|
||||
clean:
|
||||
|
|
|
@ -31,6 +31,7 @@ Here's some examples of how to use the utility to manipulate PAK files.
|
|||
.D1 creates a PAK with the files specified
|
||||
.It Li gmqpak -file new1.pak -c directory.
|
||||
.D1 creates a PAK from files within the directory, including subdirectories and files.
|
||||
.El
|
||||
.Sh AUTHOR
|
||||
See <http://graphitemaster.github.com/gmqcc>.
|
||||
.Sh BUGS
|
||||
|
|
|
@ -79,7 +79,7 @@ The following builtin functions are available:
|
|||
.It Li 5) string vtos(vector) = #5;
|
||||
.D1 Convert a vector to a string.
|
||||
.It Li 6) void error(string...) = #6;
|
||||
.D1 Print at most 8 strings to stdout and then exit with an error.
|
||||
.D1 Print strings to stdout and then exit with an error (limited to 8 arguments)
|
||||
.It Li 7) float vlen(vector) = #7;
|
||||
.D1 Get the length of a vector.
|
||||
.It Li 8) string etos(entity) = #8;
|
||||
|
|
Loading…
Reference in a new issue