[SCM] libdvdread/master: Add a man page for dvdread-config.

bdrung at users.alioth.debian.org bdrung at users.alioth.debian.org
Mon Jan 6 23:06:19 UTC 2014


The following commit has been merged in the master branch:
commit 04518c408a3bb1253fabaecdbd1afd9a674a722c
Author: Benjamin Drung <bdrung at debian.org>
Date:   Mon Jan 6 23:58:54 2014 +0100

    Add a man page for dvdread-config.

diff --git a/debian/libdvdread-dev.install b/debian/libdvdread-dev.install
index ab418d3..77e5e1d 100644
--- a/debian/libdvdread-dev.install
+++ b/debian/libdvdread-dev.install
@@ -3,3 +3,4 @@ usr/include
 usr/lib/*/*.a
 usr/lib/*/*.so
 usr/lib/*/pkgconfig
+usr/share/man/man1/dvdread-config.1
diff --git a/debian/patches/add-man-page.patch b/debian/patches/add-man-page.patch
new file mode 100644
index 0000000..a32c90d
--- /dev/null
+++ b/debian/patches/add-man-page.patch
@@ -0,0 +1,43 @@
+Description: Add a man page for dvdread-config
+Author: Benjamin Drung <bdrung at debian.org>
+
+--- a/misc/Makefile.am
++++ b/misc/Makefile.am
+@@ -6,3 +6,5 @@
+ 
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = dvdread.pc
++
++dist_man_MANS = dvdread-config.1
+--- /dev/null
++++ b/misc/dvdread-config.1
+@@ -0,0 +1,29 @@
++.TH DVDREAD\-CONFIG 1 "January 2014" "4.2.1" "dvdread-config man page"
++.SH NAME
++dvdread\-config \- return metainformation about the installed dvdread library
++.SH SYNOPSIS
++.B dvdread\-config
++[\fIOPTIONS\fR] [\fILIBRARIES\fR]
++.SH DESCRIPTION
++This script returns information about the installed libdvdread library.
++It can tell you which prefix was used to install libdvdread, which version
++the library has, and which compiler and linker flags you need to compile and
++link against libdvdread.
++.SH OPTIONS
++.TP
++\fB\-\-prefix\fR[=\fIDIR\fR]
++Print the prefix used to to install libdvdread.
++.TP
++\fB\-\--exec\-prefix\fR[=\fIDIR\fR]
++Print the exec\-prefix used to to install libdvdread.
++.TP
++\fB\-\--version
++Print the version of libdvdread.
++.TP
++\fB\-\--cflags
++Print the pre-processor and compile flags required to compile against libdvdread.
++.TP
++\fB\-\--libs
++Print the link flags need to link against libdvdread.
++.SH AUTHOR
++This manual page was written by Benjamin Drung <bdrung at debian.org>.
diff --git a/debian/patches/series b/debian/patches/series
index 6d362a2..1d08197 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 0005-hurd.patch
 0006-descriptor.patch
 0007-segfault.patch
+add-man-page.patch

-- 
libdvdread packaging



More information about the pkg-multimedia-commits mailing list