summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/man/Makefile.am11
-rw-r--r--doc/man/skribilo.1.in65
3 files changed, 77 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 871a842..a07aea0 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -1 +1 @@
-SUBDIRS = user modules img dir
+SUBDIRS = user modules img dir man
diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am
new file mode 100644
index 0000000..1156944
--- /dev/null
+++ b/doc/man/Makefile.am
@@ -0,0 +1,11 @@
+EXTRA_DIST = skribilo.1.in
+man1_MANS = skribilo.1
+
+CLEANFILES = $(man1_MANS)
+
+
+include $(top_srcdir)/substitute.am
+
+.in:
+ $(substitute) "$^" > "$@.tmp" && \
+ mv "$@.tmp" "$@"
diff --git a/doc/man/skribilo.1.in b/doc/man/skribilo.1.in
new file mode 100644
index 0000000..a6fb5cd
--- /dev/null
+++ b/doc/man/skribilo.1.in
@@ -0,0 +1,65 @@
+.\" Skribilo man page. -*- mode:nroff; coding: latin-1; -*-
+.\"
+.\" Copyright 2008 Ludovic Courtès <ludo@gnu.org>
+.\"
+.\" This file is part of Skribilo.
+.\"
+.\" Skribilo 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, or (at your option) any
+.\" later version.
+.\"
+.\" Skribilo 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 Skribilo; see the file COPYING. If not, write to the Free
+.\" Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+.\" 02110-1301 USA.
+.\"
+.TH SKRIBILO 1
+.SH NAME
+skribilo \- Process Skribilo input document.
+.SH SYNOPSIS
+.B skribilo
+[options] [input]...
+.br
+.SH DESCRIPTION
+Skribilo is a document production tool. It can produce PostScript/PDF,
+HTML, and other output formats from a single input document. It is
+highly customizable and extensible and relies on the Scheme programming
+language to that end.
+.PP
+For a summary of the command line options run:
+.IP
+skribilo --help
+.PP
+Full documentation is provided in the manual, available in HTML or
+PS/PDF formats under:
+.IP
+.I @docdir@
+.PP
+Please refer to the manual for detailed documentation.
+.SH "SEE ALSO"
+.IR guile (1)
+.SH AUTHOR
+Skribilo is based on Skribe, by Manuel Serrano and Érick Gallesio. It
+is currently developed and maintained by Ludovic Courtès.
+.SH LICENCE
+Skribilo 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, or (at your option) any later
+version.
+.PP
+Skribilo 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.
+.PP
+You should have received a copy of the GNU General Public License along with
+Skribilo; see the file
+.IR COPYING .
+If not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth
+Floor, Boston, MA 02110-1301 USA.