diff options
Diffstat (limited to 'debian/patches/0001-fix-the-build_man-target.patch')
-rw-r--r-- | debian/patches/0001-fix-the-build_man-target.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/0001-fix-the-build_man-target.patch b/debian/patches/0001-fix-the-build_man-target.patch new file mode 100644 index 0000000..02a1899 --- /dev/null +++ b/debian/patches/0001-fix-the-build_man-target.patch @@ -0,0 +1,30 @@ +From: "picca@synchrotron-soleil.fr" <picca@synchrotron-soleil.fr> +Date: Wed, 2 Aug 2017 15:43:37 +0200 +Subject: fix the build_man target + +--- + doc/source/conf.py | 6 +----- + 1 file changed, 1 insertion(+), 5 deletions(-) + +diff --git a/doc/source/conf.py b/doc/source/conf.py +index 30abf54..44f0a3e 100644 +--- a/doc/source/conf.py ++++ b/doc/source/conf.py +@@ -15,16 +15,12 @@ import sys + import os + import glob + import subprocess ++import silx + + # If extensions (or modules to document with autodoc) are in another directory, + # add these directories to sys.path here. If the directory is relative to the + # documentation root, use os.path.abspath to make it absolute, like shown here. + # sys.path.insert(0, os.path.abspath('.')) +-dirname = os.path.dirname +-root_dir = dirname(dirname(dirname(os.path.abspath(__file__)))) +-import silx +-source_dir = dirname(dirname(silx.__file__)) +-os.environ["PYTHONPATH"] = source_dir + os.pathsep + os.environ.get("PYTHONPATH", "") + + # -- General configuration ----------------------------------------------------- + |