summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2008-04-06 19:32:21 +0100
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2008-04-06 19:32:21 +0100
commitb1c711f131520ce268b6403bb7e61595300c5b81 (patch)
tree2fe2dc17094214259e33027fcc5aacdcadd5c0e2 /doc
parent1397c2baedd7a1f4a203c4a1ce14d8a46ba5d523 (diff)
downloadxine-lib-b1c711f131520ce268b6403bb7e61595300c5b81.tar.gz
xine-lib-b1c711f131520ce268b6403bb7e61595300c5b81.tar.bz2
Add a tool to list MIME types & filetype extns known to xine-lib plugins.
This is expected to see most use in updating MIME type lists in front ends' desktop files.
Diffstat (limited to 'doc')
-rw-r--r--doc/man/en/Makefile.am12
-rw-r--r--doc/man/en/xine-config.16
-rw-r--r--doc/man/en/xine-list.1.in40
3 files changed, 54 insertions, 4 deletions
diff --git a/doc/man/en/Makefile.am b/doc/man/en/Makefile.am
index ee0296033..8cdf212a6 100644
--- a/doc/man/en/Makefile.am
+++ b/doc/man/en/Makefile.am
@@ -1,5 +1,13 @@
include $(top_srcdir)/misc/Makefile.common
-man_MANS = xine-config.1 xine.5
+STATICMANS = xine-config.1 xine.5
+DYNAMICMANS = xine-list-@XINE_SERIES@.1
-EXTRA_DIST = $(man_MANS)
+man_MANS = $(STATICMANS) $(DYNAMICMANS)
+
+BUILT_SOURCES = $(DYNAMICMANS)
+DISTCLEANFILES = $(DYNAMICMANS)
+EXTRA_DIST = $(STATICMANS) $(suffix .in,$(DYNAMICMANS))
+
+xine-list-@XINE_SERIES@.1: xine-list.1.in
+ (echo '.ds xl xine\-list\-@XINE_MAJOR@.@XINE_MINOR@'; cat $<) >$@
diff --git a/doc/man/en/xine-config.1 b/doc/man/en/xine-config.1
index d8c778475..207dc2dea 100644
--- a/doc/man/en/xine-config.1
+++ b/doc/man/en/xine-config.1
@@ -36,6 +36,8 @@ Print the linker flags that are necessary to link \fIlibxine\fP to a program.
Print the compiler flags (for C and Objective C, respectively) that are
necessary to compile a program that uses \fIlibxine\fP.
.TP 8
+.B \-\-bindir
+.TQ 8
.B \-\-plugindir
.TQ 8
.B \-\-datadir
@@ -43,8 +45,8 @@ necessary to compile a program that uses \fIlibxine\fP.
.B \-\-scriptdir
.TQ 8
.B \-\-localedir
-Print the directory where, respectively, \fIlibxine\fP plugins, data files,
-scripts and locale data are stored/expected.
+Print the directory where, respectively, \fIlibxine\fP binaries, plugins,
+data files, scripts and locale data are stored/expected.
.TP 8
.B \-\-prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that \fIxine-lib\fP
diff --git a/doc/man/en/xine-list.1.in b/doc/man/en/xine-list.1.in
new file mode 100644
index 000000000..e159852c8
--- /dev/null
+++ b/doc/man/en/xine-list.1.in
@@ -0,0 +1,40 @@
+.TH XINE 1 2001-08-28 "The xine project"
+.SH NAME
+\*(xl - get supported filetype information from xine-lib
+.SH SYNOPSIS
+.B \*(xl
+[\fPoptions...\fI]
+.SH DESCRIPTION
+.PP
+\fI\*(xl\fP is a tool that is used to list the MIME type and filename
+extension information known and supported by the installed \fIxine-lib\fP.
+It is of use in filling in MIME information in front ends' desktop files.
+.
+.SH OPTIONS
+.l
+\fIxine\-list\fP accepts the following options:
+.TP 8
+.B \-m
+.B \-\-mime\-types
+List the MIME types known to \fIxine-lib\fP. (This is the default action.)
+.TP 8
+.B \-e
+.B \-\-extensions
+List the file types (filename extensions) known to \fIxine-lib\fP.
+.TP 8
+.B \-a
+.B \-\-all
+List the MIME types known to \fIxine-lib\fP, along with their filename
+extensions and descriptions.
+.TP 8
+.B \-p
+.B \-\-pretty\-print
+Add line feeds; print each item on a line of its own.
+.SH COPYRIGHT
+Copyright \(co 2008 the xine project.
+
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted, provided
+that the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.