From 22eb8f0dd011fe3b3b891be0f1d27576e959eac3 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 14 Sep 2012 11:38:19 -0700 Subject: [PATCH] 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. --- debian/rules | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 -- 2.39.5