]> git.donarmstrong.com Git - lilypond.git/commitdiff
Call dh_python2 on the internal directory
authorDon Armstrong <don@donarmstrong.com>
Fri, 14 Sep 2012 18:38:19 +0000 (11:38 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 14 Sep 2012 18:38:19 +0000 (11:38 -0700)
Do not compress .ly files in the documentation
handle the installation of the .doc-base-special docbase packages
until #525821 is fixed.

debian/rules

index 1768d6d3b962815cf8b08626cff1d36d3443127c..20c134bb5aa3acfd883e4079ea4967128234eecd 100755 (executable)
@@ -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