2 # Made with the aid of debhelper by by Joey Hess,
3 # based on the sample debian/rules file for GNU hello by Ian Jackson.
5 # This is free software; see the GNU General Public Licence
6 # version 2 or later for copying conditions. There is NO warranty.
8 # Currently maintained by Anthony Fok <foka@debian.org>
9 # for Debian GNU/Linux.
15 # Uncomment this to turn on verbose mode.
21 ./configure --disable-checking --disable-debugging \
22 --enable-printing --prefix=/usr --enable-optimise \
34 # Build architecture-independent files here.
36 # We have nothing to do by default.
41 dh_installdirs usr/lib/texmf/doc usr/lib/emacs/site-lisp
42 ln -fs ../../../doc/lilypond debian/tmp/usr/lib/texmf/doc/lilypond
43 $(MAKE) prefix=`pwd`/debian/tmp/usr install
44 cp -av mudela-mode.el debian/tmp/usr/lib/emacs/site-lisp
45 dh_installdocs ANNOUNCE ANNOUNCE-0.1 README NEWS ONEWS DEDICATION \
47 Documentation/*.{doc,xpm} Documentation/out/*.txt
48 # Documentation/*.doc Documentation/out/*.{txt,gif}
49 dh_installexamples input/{*.ly,TODO}
50 cp -aPv `find mutopia \( -name '*.ly' -o -name '*.tex' -o -name 'TODO' \)` \
51 debian/tmp/usr/doc/lilypond/examples
70 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
72 binary: binary-indep binary-arch
73 .PHONY: build clean binary-indep binary-arch binary