Merge lp:~mitya57/ubuntu-packaging-guide/use-libjs-sphinxdoc into lp:ubuntu-packaging-guide

Proposed by Dmitry Shachnev
Status: Merged
Merged at revision: 184
Proposed branch: lp:~mitya57/ubuntu-packaging-guide/use-libjs-sphinxdoc
Merge into: lp:ubuntu-packaging-guide
Diff against target: 74 lines (+20/-11)
3 files modified
debian/changelog (+8/-0)
debian/control (+2/-2)
debian/rules (+10/-9)
To merge this branch: bzr merge lp:~mitya57/ubuntu-packaging-guide/use-libjs-sphinxdoc
Reviewer Review Type Date Requested Status
Daniel Holbach (community) Approve
Review via email: mp+129952@code.launchpad.net

Description of the change

Finally got some time to test this change — it started working when I removed quotes in find call.

To post a comment you must log in.
183. By Launchpad Translations on behalf of ubuntu-packaging-guide-team

Launchpad automatic translations update.

184. By Daniel Holbach

merged lp:~mitya57/ubuntu-packaging-guide/use-libjs-sphinxdoc

Revision history for this message
Daniel Holbach (dholbach) wrote :

Good work!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-10-12 14:53:27 +0000
+++ debian/changelog 2012-10-16 18:07:23 +0000
@@ -3,6 +3,14 @@
3 [ Daniel Holbach ]3 [ Daniel Holbach ]
4 * Added some additional information to the autopkgtest article.4 * Added some additional information to the autopkgtest article.
55
6 [ Dmitry Shachnev ]
7 * Fix search not working (LP: #814679).
8 * Add CSS styling for code blocks and search results page.
9 * Link JS files with the libjs-sphinxdoc package.
10 * Do not install websupport.js
11 * Fixed a typo in fixing-a-bug-example.rst.
12 * Simplified the syntax in python-packaging.rst.
13
6 -- Daniel Holbach <daniel.holbach@ubuntu.com> Fri, 12 Oct 2012 16:52:11 +020014 -- Daniel Holbach <daniel.holbach@ubuntu.com> Fri, 12 Oct 2012 16:52:11 +0200
715
8ubuntu-packaging-guide (0.2.4) unstable; urgency=low16ubuntu-packaging-guide (0.2.4) unstable; urgency=low
917
=== modified file 'debian/control'
--- debian/control 2012-09-05 14:13:32 +0000
+++ debian/control 2012-10-16 18:07:23 +0000
@@ -31,7 +31,7 @@
31 ubuntu-packaging-guide-html.31 ubuntu-packaging-guide-html.
3232
33Package: ubuntu-packaging-guide-html33Package: ubuntu-packaging-guide-html
34Depends: libjs-jquery (>= 1.6.1), libjs-underscore, ${misc:Depends}34Depends: libjs-sphinxdoc, ${misc:Depends}
35Architecture: all35Architecture: all
36Description: Ubuntu Packaging Guide - HTML guide36Description: Ubuntu Packaging Guide - HTML guide
37 The Ubuntu Packaging Guide is a set of articles that should help you to get37 The Ubuntu Packaging Guide is a set of articles that should help you to get
@@ -55,7 +55,7 @@
55 This package contains the PDF version of the guide.55 This package contains the PDF version of the guide.
5656
57Package: ubuntu-packaging-guide-epub57Package: ubuntu-packaging-guide-epub
58Depends: libjs-jquery (>= 1.6.1), libjs-underscore, ${misc:Depends}58Depends: libjs-sphinxdoc, ${misc:Depends}
59Architecture: all59Architecture: all
60Description: Ubuntu Packaging Guide - EPUB guide60Description: Ubuntu Packaging Guide - EPUB guide
61 The Ubuntu Packaging Guide is a set of articles that should help you to get61 The Ubuntu Packaging Guide is a set of articles that should help you to get
6262
=== modified file 'debian/rules'
--- debian/rules 2012-08-21 21:22:08 +0000
+++ debian/rules 2012-10-16 18:07:23 +0000
@@ -28,19 +28,20 @@
28 done; \28 done; \
29 cd -; \29 cd -; \
30 done30 done
31 # use system copies of jquery and underscore instead.31 # use system copies of javascript libraries instead
32 for filename in `find $$DEBIANDIR -wholename '*/_static/jquery.js'`; do \32 for jsname in jquery underscore doctools searchtools; do \
33 rm $$filename; \33 for filename in `find debian/ -wholename */_static/$$jsname.js`; do \
34 ln -s /usr/share/javascript/jquery/jquery.js $$filename; \34 rm $$filename; \
35 done35 ln -s /usr/share/javascript/sphinxdoc/1.0/$$jsname.js $$filename; \
36 for filename in `find $$DEBIANDIR -wholename '*/_static/underscore.js'`; do \36 done; \
37 rm $$filename; \
38 ln -s /usr/share/javascript/underscore/underscore.js $$filename; \
39 done37 done
40 dh_link38 dh_link
4139
42override_dh_install:40override_dh_install:
43 dh_install --list-missing41 dh_install --list-missing -Xwebsupport.js
42
43override_dh_installdocs:
44 dh_installdocs -Xwebsupport.js
4445
45get-orig-source:46get-orig-source:
46 bzr export -r tag:$(VERSION) --root=ubuntu-packaging-guide-$(VERSION).orig \47 bzr export -r tag:$(VERSION) --root=ubuntu-packaging-guide-$(VERSION).orig \

Subscribers

People subscribed via source and target branches