[cheese] Include the version in the man page
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [cheese] Include the version in the man page
- Date: Mon, 31 Oct 2011 17:04:49 +0000 (UTC)
commit 23b3b6300ff87978a61d81ed77efe35db91fc25f
Author: David King <amigadave amigadave com>
Date: Mon Oct 31 16:40:09 2011 +0100
Include the version in the man page
.gitignore | 1 +
Makefile.am | 2 +-
docs/reference/Makefile.am | 2 +-
docs/reference/cheese.xml | 6 ++++++
4 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1b6305b..d110e14 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,7 @@ Makefile.in*
/docs/reference/html/
/docs/reference/xml/
/docs/reference/*.stamp
+/docs/reference/cheese.1
/docs/reference/cheese.args
/docs/reference/cheese.hierarchy
/docs/reference/cheese.interfaces
diff --git a/Makefile.am b/Makefile.am
index 93d876f..ceb8737 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -468,7 +468,7 @@ MAINTAINERCLEANFILES = \
omf.make \
xmldocs.make
-DISTCHECK_CONFIGURE_FLAGS = --disable-schemas-install --disable-scrollkeeper --enable-gtk-doc --enable-introspection
+DISTCHECK_CONFIGURE_FLAGS = --disable-scrollkeeper --enable-gtk-doc --enable-introspection --enable-man
CHANGELOG_START = 2.26.0
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 063f85c..cf50ad1 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -92,7 +92,7 @@ endif
if ENABLE_MAN
cheese.1: cheese.xml
- $(AM_V_GEN)xsltproc -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
+ $(AM_V_GEN)xsltproc --nonet --path $(builddir) http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
nodist_man_MANS = cheese.1
diff --git a/docs/reference/cheese.xml b/docs/reference/cheese.xml
index f7bacd8..62552d8 100644
--- a/docs/reference/cheese.xml
+++ b/docs/reference/cheese.xml
@@ -1,9 +1,15 @@
+<?xml version="1.0"?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+ "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
+[<!ENTITY version SYSTEM "version.xml">]>
<refentry id="cheese">
<refmeta>
<refentrytitle>cheese</refentrytitle>
<manvolnum>1</manvolnum>
<refmiscinfo class="manual">User Commands</refmiscinfo>
+<refmiscinfo class="source">Cheese</refmiscinfo>
+<refmiscinfo class="version">&version;</refmiscinfo>
</refmeta>
<refnamediv>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]