[mame] 02/05: Generate docs using sphinx and install in mame-doc.
Jordi Mallach
jordi at moszumanska.debian.org
Thu Sep 29 00:35:51 UTC 2016
This is an automated email from the git hooks/post-receive script.
jordi pushed a commit to branch master
in repository mame.
commit 3d7bdd986e41db496c5319168ef4cceb783ce9e0
Author: Jordi Mallach <jordi at debian.org>
Date: Wed Sep 28 15:45:22 2016 +0200
Generate docs using sphinx and install in mame-doc.
Add Build-Depends-Indep on python3-sphinx and build the
singlehtml flavour of the docs.
Add a new mame-doc binary package and install all the docs in that
package.
---
debian/changelog | 5 +++++
debian/control | 13 +++++++++++++
debian/mame-doc.docs | 1 +
debian/mame-tools.docs | 1 -
debian/mame.docs | 6 ------
debian/rules | 1 +
6 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 8171510..b038661 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,11 @@
mame (0.178-1) UNRELEASED; urgency=medium
* New upstream release.
+ * Add Build-Depends-Indep on python3-sphinx.
+ * Build the singlehtml flavour of docs.
+ * Add a new binary package mame-doc and move all the (generated) docs
+ to this package.
+ * Let mame suggest mame-doc.
-- Jordi Mallach <jordi at debian.org> Wed, 28 Sep 2016 08:07:12 +0200
diff --git a/debian/control b/debian/control
index a290696..b1ede81 100644
--- a/debian/control
+++ b/debian/control
@@ -23,6 +23,7 @@ Build-Depends: debhelper (>= 9),
python-dev,
qtbase5-dev,
zlib1g-dev
+Build-Depends-Indep: python3-sphinx
Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-games/mame.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-games/mame.git
@@ -37,6 +38,7 @@ Depends: ${misc:Depends},
Replaces: mess (<< 0.162)
Breaks: mess (<< 0.162)
Suggests: gnome-video-arcade,
+ mame-doc,
mame-extra,
mame-tools
Description: Multiple Arcade Machine Emulator (MAME)
@@ -82,6 +84,17 @@ Description: Tools for MAME and MESS
romcmp -- ROM comparison utility program
testkeys -- keyboard code viewer
+Package: mame-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: mame
+Description: Documentation for MAME
+ MAME is a hardware emulator: it faithfully reproduces the behavior of many
+ arcade machines (it is not a simulation).
+ .
+ This is sphinx-generated full documentation for the MAME system.
+
Package: mess
Depends: mame, ${misc:Depends}
Architecture: all
diff --git a/debian/mame-doc.docs b/debian/mame-doc.docs
new file mode 100644
index 0000000..3ddce4b
--- /dev/null
+++ b/debian/mame-doc.docs
@@ -0,0 +1 @@
+docs/build/singlehtml
diff --git a/debian/mame-tools.docs b/debian/mame-tools.docs
deleted file mode 100644
index b390afd..0000000
--- a/debian/mame-tools.docs
+++ /dev/null
@@ -1 +0,0 @@
-docs/source/tools
diff --git a/debian/mame.docs b/debian/mame.docs
deleted file mode 100644
index 5d21494..0000000
--- a/debian/mame.docs
+++ /dev/null
@@ -1,6 +0,0 @@
-docs/source/advanced
-docs/source/commandline
-docs/source/initialsetup
-docs/source/techspecs
-docs/source/usingmame
-docs/source/whatis.rst
diff --git a/debian/rules b/debian/rules
index 35e2911..59b47e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -188,6 +188,7 @@ override_dh_auto_build-arch:
mv ui.ini default.ui.ini
override_dh_auto_build-indep:
+ $(MAKE) -C docs singlehtml
override_dh_auto_test-arch:
# Run MAME's internal validation tests
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mame.git
More information about the Pkg-games-commits
mailing list