[gnome-color-manager] Add some simple man pages for Debian



commit 4fea53e0e138a5cb723dd16452078e79893e668b
Author: Richard Hughes <richard hughsie com>
Date:   Mon Nov 2 09:32:38 2009 +0000

    Add some simple man pages for Debian

 Makefile.am                         |    1 +
 configure.ac                        |   10 +++++
 contrib/gnome-color-manager.spec.in |    2 +-
 man/.gitignore                      |    5 ++
 man/Makefile.am                     |   26 ++++++++++++
 man/gcm-apply.sgml                  |   75 +++++++++++++++++++++++++++++++++++
 man/gcm-import.sgml                 |   75 +++++++++++++++++++++++++++++++++++
 man/gcm-prefs.sgml                  |   75 +++++++++++++++++++++++++++++++++++
 8 files changed, 268 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 00f0a4d..26a1381 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,6 +1,7 @@
 SUBDIRS = 						\
 	po						\
 	help						\
+	man						\
 	data						\
 	src
 
diff --git a/configure.ac b/configure.ac
index 38e8a93..0f00e67 100644
--- a/configure.ac
+++ b/configure.ac
@@ -146,12 +146,22 @@ fi
 AC_SUBST(DOCDIR)
 
 dnl ---------------------------------------------------------------------------
+dnl - Is docbook2man available?
+dnl ---------------------------------------------------------------------------
+AC_PATH_PROG(DOCBOOK2MAN, docbook2man, no)
+if test "$DOCBOOK2MAN" = "no" ; then
+	AC_MSG_WARN([docbook2man not found, will not be able to build man documentation])
+fi
+AM_CONDITIONAL(HAVE_DOCBOOK2MAN, [test "$DOCBOOK2MAN" != "no"])
+
+dnl ---------------------------------------------------------------------------
 dnl - Makefiles, etc.
 dnl ---------------------------------------------------------------------------
 AC_OUTPUT([
 Makefile
 src/Makefile
 help/Makefile
+man/Makefile
 data/Makefile
 data/profiles/Makefile
 data/icons/Makefile
diff --git a/contrib/gnome-color-manager.spec.in b/contrib/gnome-color-manager.spec.in
index edfe7ff..e047887 100644
--- a/contrib/gnome-color-manager.spec.in
+++ b/contrib/gnome-color-manager.spec.in
@@ -105,7 +105,7 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %dir %{_datadir}/gnome-color-manager/profiles
 %{_datadir}/gnome-color-manager/profiles/*.ic?
 %{_datadir}/gnome-color-manager/gcm-*.ui
-#%{_datadir}/man/man1/*.1.gz
+%{_datadir}/man/man1/*.1.gz
 %{_datadir}/gnome/help/gnome-color-manager
 #%{_datadir}/omf/gnome-color-manager
 %{_datadir}/icons/hicolor/*/*/*.png
diff --git a/man/.gitignore b/man/.gitignore
new file mode 100644
index 0000000..1c481ef
--- /dev/null
+++ b/man/.gitignore
@@ -0,0 +1,5 @@
+manpage.links
+manpage.refs
+manpage.log
+*.1
+
diff --git a/man/Makefile.am b/man/Makefile.am
new file mode 100644
index 0000000..d73ae74
--- /dev/null
+++ b/man/Makefile.am
@@ -0,0 +1,26 @@
+EXTRA_DIST =						\
+	gcm-apply.sgml					\
+	gcm-prefs.sgml					\
+	gcm-import.sgml
+
+if HAVE_DOCBOOK2MAN
+man_MANS =						\
+	gcm-apply.1					\
+	gcm-prefs.1					\
+	gcm-import.1
+endif
+
+if HAVE_DOCBOOK2MAN
+gcm-apply.1: gcm-apply.sgml
+	docbook2man $? > /dev/null
+gcm-prefs.1: gcm-prefs.sgml
+	docbook2man $? > /dev/null
+gcm-import.1: gcm-import.sgml
+	docbook2man $? > /dev/null
+endif
+
+clean-local :
+	rm -f *~
+	rm -f *.1
+	rm -f manpage.*
+
diff --git a/man/gcm-apply.sgml b/man/gcm-apply.sgml
new file mode 100644
index 0000000..551764a
--- /dev/null
+++ b/man/gcm-apply.sgml
@@ -0,0 +1,75 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY date        "<date>11 April,2008</date>">
+  <!ENTITY package     "gcm-apply">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>richard hughsie com</email>;
+    </address>
+    <author>
+      <firstname>Richard</firstname>
+      <surname>Hughes</surname>
+    </author>
+    <copyright>
+      <year>2009</year>
+      <holder>Richard Hughes</holder>
+    </copyright>
+    &date;
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>gcm-apply</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>&package;</refname>
+    <refpurpose>GNOME Color Manager Apply Tool</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&package;</command>
+      <arg><option>--verbose</option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      This manual page documents briefly the <command>&package;</command> command.
+    </para>
+    <para>
+      <command>&package;</command> allows you to set all monitors to their calibrated settings.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+    <para>gcm-prefs (1).</para>
+    <para>gcm-import (2).</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+    <para>This manual page was written by Richard Hughes <email>richard hughsie com</email>.
+    </para>
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
diff --git a/man/gcm-import.sgml b/man/gcm-import.sgml
new file mode 100644
index 0000000..0592781
--- /dev/null
+++ b/man/gcm-import.sgml
@@ -0,0 +1,75 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY date        "<date>11 April,2008</date>">
+  <!ENTITY package     "gcm-import">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>richard hughsie com</email>;
+    </address>
+    <author>
+      <firstname>Richard</firstname>
+      <surname>Hughes</surname>
+    </author>
+    <copyright>
+      <year>2009</year>
+      <holder>Richard Hughes</holder>
+    </copyright>
+    &date;
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>gcm-import</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>&package;</refname>
+    <refpurpose>GNOME Color Manager Import Tool</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&package;</command>
+      <arg><option>--verbose</option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      This manual page documents briefly the <command>&package;</command> command.
+    </para>
+    <para>
+      <command>&package;</command> allows you to import ICC files supplied by vendors.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+    <para>gcm-apply (1).</para>
+    <para>gcm-prefs (2).</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+    <para>This manual page was written by Richard Hughes <email>richard hughsie com</email>.
+    </para>
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
diff --git a/man/gcm-prefs.sgml b/man/gcm-prefs.sgml
new file mode 100644
index 0000000..72de43e
--- /dev/null
+++ b/man/gcm-prefs.sgml
@@ -0,0 +1,75 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY date        "<date>11 April,2008</date>">
+  <!ENTITY package     "gcm-prefs">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      <email>richard hughsie com</email>;
+    </address>
+    <author>
+      <firstname>Richard</firstname>
+      <surname>Hughes</surname>
+    </author>
+    <copyright>
+      <year>2009</year>
+      <holder>Richard Hughes</holder>
+    </copyright>
+    &date;
+  </refentryinfo>
+  <refmeta>
+    <refentrytitle>gcm-prefs</refentrytitle>
+    <manvolnum>1</manvolnum>
+  </refmeta>
+  <refnamediv>
+    <refname>&package;</refname>
+    <refpurpose>GNOME Color Manager Preferences Tool</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&package;</command>
+      <arg><option>--verbose</option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+    <para>
+      This manual page documents briefly the <command>&package;</command> command.
+    </para>
+    <para>
+      <command>&package;</command> allows you to create, assign and modify device color profiles.
+    </para>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+    <para>gcm-apply (1).</para>
+    <para>gcm-import (2).</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+    <para>This manual page was written by Richard Hughes <email>richard hughsie com</email>.
+    </para>
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]