mirror of
https://github.com/wassname/scikit-image.git
synced 2026-08-11 11:25:30 +08:00
update packaging to use dh_sphinxdoc and dh_python2
requires search-html.patch to fix file so dh_sphinxdoc recognises it
This commit is contained in:
Vendored
+1
-7
@@ -12,7 +12,7 @@ export HOME=$(CURDIR)/build
|
||||
|
||||
# Mega rule
|
||||
%:
|
||||
dh $@ --buildsystem python_distutils
|
||||
dh $@ --with python2,sphinxdoc --buildsystem python_distutils
|
||||
|
||||
override_dh_clean:
|
||||
ifeq (,$(filter noclean,$(DEB_BUILD_OPTIONS)))
|
||||
@@ -38,12 +38,6 @@ ifeq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
|
||||
export PYTHONPATH=$(PACKAGE_ROOT_DIR)/usr/lib/python$*/dist-packages; \
|
||||
cd doc; test -d build/html || $(MAKE) html
|
||||
python$* setup.py install --install-layout=deb --root=$(PACKAGE_ROOT_DIR)
|
||||
: # Use jquery and underscore from Debian package, so prune shipped one
|
||||
-rm -f doc/build/html/_static/jquery.js
|
||||
# Actually due to the problems with underscore pkg across releases just ship one for now
|
||||
#-rm -f doc/build/html/_static/underscore.js
|
||||
-rm -rf doc/build/html/_sources
|
||||
-rm -f doc/build/html/.buildinfo
|
||||
endif
|
||||
|
||||
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
|
||||
|
||||
Reference in New Issue
Block a user