Skip to content
Snippets Groups Projects
Commit 02384323 authored by Antoine Beaupré's avatar Antoine Beaupré
Browse files

try to ship the sphinx documentation with the package, untested

parent b59a90b6
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 9) ...@@ -10,6 +10,7 @@ Build-Depends: debhelper (>= 9)
, python-zbar , python-zbar
, python-zbarpygtk , python-zbarpygtk
, python-docutils , python-docutils
, python-sphinx
Standards-Version: 3.9.6 Standards-Version: 3.9.6
Homepage: http://web.monkeysphere.info/monkeysign Homepage: http://web.monkeysphere.info/monkeysign
Vcs-Git: git://git.monkeysphere.info/monkeysign Vcs-Git: git://git.monkeysphere.info/monkeysign
......
...@@ -8,5 +8,5 @@ Format: text ...@@ -8,5 +8,5 @@ Format: text
Files: /usr/share/doc/monkeysign/presentation.rst Files: /usr/share/doc/monkeysign/presentation.rst
Format: HTML Format: HTML
Index: /usr/share/doc/monkeysign/presentation.html Index: /usr/share/doc/monkeysign/html/index.html
Files: /usr/share/doc/monkeysign/presentation.html Files: /usr/share/doc/monkeysign/html/
README.mdwn README.mdwn
HACKING.mdwn HACKING.mdwn
doc/presentation* doc/html/
doc/ui/
...@@ -8,10 +8,14 @@ ...@@ -8,10 +8,14 @@
export DH_OPTIONS export DH_OPTIONS
%: %:
dh $@ --with=python2 dh $@ --with=python2,sphinxdoc
override_dh_auto_install: override_dh_auto_install:
dh_auto_install dh_auto_install
# workaround a limitation in distutils, see # workaround a limitation in distutils, see
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743150 # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743150
ln -sf monkeysign debian/monkeysign/usr/bin/monkeyscan ln -sf monkeysign debian/monkeysign/usr/bin/monkeyscan
override_dh_auto_build:
dh_auto_build
python setup.py build_sphinx
...@@ -5,3 +5,8 @@ parsers=monkeysign:monkeysign.cli:MonkeysignCli.parser ...@@ -5,3 +5,8 @@ parsers=monkeysign:monkeysign.cli:MonkeysignCli.parser
[build_slides] [build_slides]
file=doc/presentation.rst file=doc/presentation.rst
[build_sphinx]
source-dir = doc
build-dir = doc
all_files = 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment