[ ! -f Makefile ] || $(MAKE) web-clean
[ ! -f Makefile ] || $(MAKE) distclean
rm -f lib/python
- rm -f ./stepmake/bin/config.guess ./stepmake/bin/config.guess.sub ./stepmake/bin/config.sub
- # Still not clean enough? Let's use... BRUTE STRENGTH! :-)
- find . -type d -name 'out' -o -name 'out-www' | xargs rm -rf
rm -f buildscripts/*.pyc
rm -f lib/lilypond/python examples.html
rm -f debian/emacsen-startup
# it installs a random dir-dep file for no reason
rm -f $(CURDIR)/debian/lilypond-doc/usr/share/info/*-dir-dep*
+ dh_installinfo
dh_installdocs
+ # remove the useless offline-root directory
+ mv $(CURDIR)/debian/lilypond-doc/usr/share/doc/lilypond/html/offline-root/* \
+ $(CURDIR)/debian/lilypond-doc/usr/share/doc/lilypond/html/.;
+ rmdir $(CURDIR)/debian/lilypond-doc/usr/share/doc/lilypond/html/offline-root;
find $(CURDIR)/debian/lilypond-doc/usr/share/doc/lilypond/html \
-type d -empty -delete
dh_installemacsen