Do not compress .ly files in the documentation
handle the installation of the .doc-base-special docbase packages
until #525821 is fixed.
-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