aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-25 20:25:39 +0000
committerDavid Robillard <d@drobilla.net>2011-01-25 20:25:39 +0000
commit8a2478b3efc695f453fc71d936dbd50725e2359a (patch)
tree2340605c776433217a269b7733dbced75a452d80
parent839dd67ed1716c2548e270160033b01d54dab03a (diff)
downloadserd-8a2478b3efc695f453fc71d936dbd50725e2359a.tar.gz
serd-8a2478b3efc695f453fc71d936dbd50725e2359a.tar.bz2
serd-8a2478b3efc695f453fc71d936dbd50725e2359a.zip
Add man page for serdi.
git-svn-id: http://svn.drobilla.net/serd/trunk@76 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r--doc/serdi.146
-rw-r--r--wscript3
2 files changed, 49 insertions, 0 deletions
diff --git a/doc/serdi.1 b/doc/serdi.1
new file mode 100644
index 00000000..e9528b1b
--- /dev/null
+++ b/doc/serdi.1
@@ -0,0 +1,46 @@
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH SERDI 1 "25 Jan 2011"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+.B serdi \- Read and write RDF syntax
+
+.SH SYNOPSIS
+serdi [OPTIONS]... INPUT BASE_URI
+
+.SH OPTIONS
+.TP
+\fB\-h\fT, \fB\-\-help\fR
+Print the command line options.
+
+.TP
+\fB\-o SYNTAX\fR
+Write output in SYNTAX (`turtle' or `ntriples').
+
+.TP
+\fB\-s INPUT\fR
+Parse INPUT as a string (terminates options).
+
+.SH AUTHOR
+Serdi was written by David Robillard <d@drobilla.net>
+
+.SH COPYRIGHT
+Copyright \(co 2011 David Robillard.
+License: GNU LGPL version 3 or later <http://gnu.org/licenses/lgpl.html>.
+This is free software; you are free to change and redistribute it.
+There is NO WARRANTY, to the extent permitted by law.
+
+.SH "SEE ALSO"
+<http://drobilla.net/software/serd>
diff --git a/wscript b/wscript
index 7c4da5af..067b3629 100644
--- a/wscript
+++ b/wscript
@@ -105,6 +105,9 @@ def build(bld):
# Documentation
autowaf.build_dox(bld, 'SERD', SERD_VERSION, top, out)
+ # Man page
+ bld.install_files('${MANDIR}/man1', 'doc/serdi.1')
+
bld.add_post_fun(autowaf.run_ldconfig)
def lint(ctx):