[Python-modules-commits] [sphinx] 01/02: Move the new templates directory to sphinx-common package.
Dmitry Shachnev
mitya57 at moszumanska.debian.org
Wed Dec 21 08:29:55 UTC 2016
This is an automated email from the git hooks/post-receive script.
mitya57 pushed a commit to branch master
in repository sphinx.
commit 3d217dd51ff322d7a4625c35f7314bfadf2975cf
Author: Dmitry Shachnev <mitya57 at gmail.com>
Date: Wed Dec 21 11:14:11 2016 +0300
Move the new templates directory to sphinx-common package.
---
debian/changelog | 1 +
debian/rules | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 505136e..59f03f8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,7 @@ sphinx (1.5.1-1) UNRELEASED; urgency=medium
* Skip tests that require internet access (skip_tests_network.diff).
* Update dh_sphinxdoc for upstream changes to document extensions.
* Update numbers in debian/jstest/run-tests for the new release.
+ * Move the new templates directory to sphinx-common package.
-- Dmitry Shachnev <mitya57 at debian.org> Thu, 15 Dec 2016 11:52:28 +0300
diff --git a/debian/rules b/debian/rules
index 02804bf..830cc82 100755
--- a/debian/rules
+++ b/debian/rules
@@ -89,6 +89,7 @@ binary binary-indep: build-stamp
rm -rf $(debroot)/usr/share/sphinx/
mkdir -p $(debroot)/usr/share/sphinx/
cd $(debroot) && mv -t usr/share/sphinx/ \
+ .$(py2_libdir)/sphinx/templates \
.$(py2_libdir)/sphinx/texinputs \
.$(py2_libdir)/sphinx/themes
mkdir -p $(debroot)/usr/share/sphinx/pycode/
@@ -100,7 +101,7 @@ binary binary-indep: build-stamp
cd $(debroot) && mv -t usr/share/sphinx/ext/autosummary/ \
.$(py2_libdir)/sphinx/ext/autosummary/templates
cd $(debroot)$(py3_libdir)/sphinx/ && \
- rm -rf texinputs/ themes/ ext/autosummary/templates/
+ rm -rf templates/ texinputs/ themes/ ext/autosummary/templates/
set -e -x; \
cd $(debroot) && \
for lang in $(locales); \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx.git
More information about the Python-modules-commits
mailing list