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.
22 ./configure --disable-checking --disable-debugging \
23 --enable-printing --prefix=/usr --enable-optimise \
34 -$(MAKE) local-distclean
36 # Remove the following line once the *.make files are fixed
42 # Build architecture-independent files here.
44 # We have nothing to do by default.
51 dh_installdirs usr/lib/texmf/doc \
52 usr/lib/emacs/site-lisp \
53 usr/doc/$(package)/examples
54 ln -fs ../../../doc/lilypond debian/tmp/usr/lib/texmf/doc/lilypond
55 $(MAKE) prefix=`pwd`/debian/tmp/usr install
56 cp -av mudela-mode.el debian/tmp/usr/lib/emacs/site-lisp
57 dh_installdocs ANNOUNCEMENT ANNOUNCE-0.1 README.txt NEWS ONEWS DEDICATION \
59 Documentation/pictures/*.xpm \
60 Documentation/out/*.txt \
61 Documentation/tex/*.doc \
62 Documentation/tex/*.bib
63 # dh_installexamples input
64 cp -aP `find input mutopia \( -name '*.ly' -o -name '*.tex' -o -name 'TODO' \)` \
65 debian/tmp/usr/doc/lilypond/examples
83 @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
85 binary: binary-indep binary-arch
86 .PHONY: build clean binary-indep binary-arch binary