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 \
25 $(MAKE) -C Documentation gifs
35 # Build architecture-independent files here.
37 # We have nothing to do by default.
42 dh_installdirs usr/lib/texmf/doc usr/lib/emacs/site-lisp
43 ln -fs ../../../doc/lilypond debian/tmp/usr/lib/texmf/doc/lilypond
44 $(MAKE) prefix=`pwd`/debian/tmp/usr install
45 cp -av bin/out/ly2dvi debian/tmp/usr/bin
46 cp -av mudela-mode.el debian/tmp/usr/lib/emacs/site-lisp
47 dh_installdocs ANNOUNCE ANNOUNCE-0.1 README NEWS ONEWS DEDICATION \
49 Documentation/*.doc Documentation/out/{*.txt,*.gif}
50 dh_installexamples input/{*.ly,TODO}
51 cp -aPv `find mutopia \( -name '*.ly' -o -name '*.tex' -o -name 'TODO' \)` \
52 debian/tmp/usr/doc/lilypond/examples
71 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
73 binary: binary-indep binary-arch
74 .PHONY: build clean binary-indep binary-arch binary