From: Don Armstrong Date: Fri, 14 Sep 2012 18:38:19 +0000 (-0700) Subject: Call dh_python2 on the internal directory X-Git-Tag: debian/2.16.0-1_exp+1~7 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=22eb8f0dd011fe3b3b891be0f1d27576e959eac3;p=lilypond.git Call dh_python2 on the internal directory Do not compress .ly files in the documentation handle the installation of the .doc-base-special docbase packages until #525821 is fixed. --- diff --git a/debian/rules b/debian/rules index 1768d6d3b9..20c134bb5a 100755 --- a/debian/rules +++ b/debian/rules @@ -65,6 +65,20 @@ override_dh_install: -printf '%P\n' >> $(CURDIR)/debian/lilypond-doc-pdf.install dh_install --list-missing +override_dh_python2: + dh_python2 + dh_python2 usr/share/lilypond/2.16.0/python/ + +override_dh_compress: + dh_compress -X.ly + +override_dh_installdocs: + dh_installdocs + for a in $(wildcard $(CURDIR)/debian/*.doc-base-special); do \ + package=$$(basename $$a .doc-base-special); \ + install -d debian/$$package/usr/share/doc-base \ + install $$a debian/$$package/usr/share/doc-base/$$package; \ + done; ## this rule will update debian/control and the per-language install ## files; all of the files it generates/modifies should be included in