aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtes2008-02-18 15:00:08 +0100
committerLudovic Courtes2008-02-18 15:00:08 +0100
commit60e24026ecf587e203edfed981f5c6347f0c548a (patch)
tree1e65eb3cd391d8ed4205833da4d25678bdae2345
parent707343e5eb8ee04c0e54091b86da6a5a49cc9748 (diff)
downloadskribilo-60e24026ecf587e203edfed981f5c6347f0c548a.tar.gz
skribilo-60e24026ecf587e203edfed981f5c6347f0c548a.tar.lz
skribilo-60e24026ecf587e203edfed981f5c6347f0c548a.zip
Add a man page for `skribilo(1)'.
* configure.ac: Use `AM_GNU_GETTEXT_VERSION' to make Gettext happier. Produce `doc/man/Makefile'. * doc/Makefile.am (SUBDIRS): Add `man'.
-rw-r--r--.gitignore2
-rw-r--r--configure.ac2
-rw-r--r--doc/Makefile.am2
-rw-r--r--doc/man/Makefile.am11
-rw-r--r--doc/man/skribilo.1.in65
5 files changed, 80 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 03d7b28..49d41ca 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,7 +14,7 @@ lib/*
,*
stamp-h[0-9]
stamp-po
-doc/user/doc-config.scm
+doc/man/skribilo.1
src/skribilo
src/skribilo-config
src/pre-inst-skribilo
diff --git a/configure.ac b/configure.ac
index 2cb6833..a76a4e6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,7 @@ AC_CONFIG_SRCDIR([src/guile/skribilo/reader.scm])
# GNU Gettext.
AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_VERSION([0.16.1])
# Specifying the Guile module directory.
AC_ARG_WITH([guilemoduledir],
@@ -110,4 +111,5 @@ AC_OUTPUT([Makefile
doc/modules/Makefile
doc/modules/skribilo/Makefile
doc/modules/skribilo/documentation/Makefile
+ doc/man/Makefile
emacs/Makefile])
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.