2 # Made with the aid of debmake, by Christoph Lameter,
3 # based on the sample debian/rules file for GNU hello by Ian Jackson.
9 ./configure --disable-checking --disable-debugging \
10 --disable-printing --prefix=/usr --enable-optimise \
20 -rm -f {,*/}out/{*,.build} flower/config.{log,status}
21 -rm -f `find . -name "*~"`
22 -rm -rf debian/tmp debian/files* core debian/substvars
24 binary-indep: checkroot build
26 # There are no architecture-independent files to be uploaded
27 # generated by this package. If there were any they would be
30 binary-arch: checkroot build
34 cd debian/tmp && install -d `cat ../dirs`
35 make prefix=`pwd`/debian/tmp/usr install
36 ln -fs ../../../doc/lilypond debian/tmp/usr/lib/texmf/doc/lilypond
37 # Must have debmake installed for this to work. Otherwise please copy
38 # /usr/bin/debstd into the debian directory and change debstd to debian/debstd
39 debstd -m BUGS TODO NEWS DEDICATION ANNOUNCE README
41 chown -R root.root debian/tmp
42 chmod -R go=rX debian/tmp
43 dpkg --build debian/tmp ..
49 # Below here is fairly generic really
51 binary: binary-indep binary-arch
55 test root = "`whoami`"
57 .PHONY: binary binary-arch binary-indep clean checkroot