diff options
author | Kali Kaneko <kali@futeisha.org> | 2014-08-18 15:36:59 -0500 |
---|---|---|
committer | Kali Kaneko <kali@futeisha.org> | 2014-08-18 15:40:20 -0500 |
commit | 3488c8fa0078576ab35e463c33fe8e3e47e34e61 (patch) | |
tree | 7bdf457727faa6e11bbb13495cadc05c5b632765 /debian/rules | |
parent | 7b20b328f666111dd56df653a96b1e55d118ad7d (diff) |
Remove the embedded copy of jquery.js and underscore.js
Upstream should not include docs/_build in the sources,
emptying them in a quilt patch for now.
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index b8b2e60..41f7383 100755 --- a/debian/rules +++ b/debian/rules @@ -12,11 +12,14 @@ package3=python3-gnupg-ng export PYBUILD_DESTDIR_python2=debian/$(package)/ export PYBUILD_DESTDIR_python3=debian/$(package3)/ +WITH_SPHINXDOC = $(shell if [ -x /usr/bin/dh_sphinxdoc ]; then echo "--with sphinxdoc"; fi) + PYVERS=$(shell pyversions -r) PY3VERS = $(shell py3versions -r) %: - dh $@ --with python2,python3,sphinxdoc --buildsystem=python_distutils + dh $@ --with python2,python3 $(WITH_SPHINXDOC) --buildsystem=python_distutils + override_dh_compress: dh_compress -i -X.rst -X.js -X.html -X.txt @@ -30,7 +33,8 @@ override_dh_auto_build: override_dh_auto_clean: dh_auto_clean - rm -rf build debian/docs docs/_build *.egg-info __pycache__ + rm -rf build *.egg-info __pycache__ + # docs/_build debian/docs find \( -name '._*' -o -name '*.pyc' \) -delete override_dh_auto_install: |