]> git.donarmstrong.com Git - lilypond.git/blob - debian/rules
release: 0.1.41
[lilypond.git] / debian / rules
1 #!/usr/bin/make -f
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.
4 #
5 # This is free software; see the GNU General Public Licence
6 # version 2 or later for copying conditions.  There is NO warranty.
7 #
8 # Currently maintained by Anthony Fok <foka@debian.org>
9 # for Debian GNU/Linux.
10
11 package=lilypond
12
13 SHELL=/bin/bash
14
15 # Uncomment this to turn on verbose mode.
16 #export DH_VERBOSE=1
17
18 build: build-stamp
19 build-stamp:
20         dh_testdir
21         ./configure --disable-checking --disable-debugging \
22                 --enable-printing --prefix=/usr --enable-optimise \
23                 --enable-shared
24         make all
25         touch build-stamp
26
27 clean:
28         dh_testdir
29         dh_testroot
30         rm -f build-stamp
31         -$(MAKE) distclean
32         # Don't put dh_clean before "make distclean"!  dh_clean is
33         # "too smart" and it deletes too many files!
34         dh_clean
35         rm -f {,*/}out/{*,.build} flower/config.{log,status}
36
37 # Build architecture-independent files here.
38 binary-indep: build
39 # We have nothing to do by default.
40
41 binary-arch: build
42         dh_testdir
43         dh_testroot
44         dh_installdirs usr/lib/texmf/doc
45         $(MAKE) prefix=`pwd`/debian/tmp/usr install
46         ln -fs ../../../doc/lilypond debian/tmp/usr/lib/texmf/doc/lilypond
47         dh_installdocs ANNOUNCE ANNOUNCE-0.1 README NEWS ONEWS DEDICATION \
48                 BUGS TODO \
49                 Documentation/out/*.text Documentation/*.doc \
50                 Documentation/lelie_logo.xpm bin/ly2dvi.sh
51         dh_installexamples input/*.ly input/*.tex
52 #       dh_installmenu
53 #       dh_installcron
54 #       dh_installmanpages
55 #       dh_undocumented
56         dh_installchangelogs
57         dh_strip
58         dh_compress
59         dh_fixperms
60         dh_suidregister
61         dh_installdeb
62         dh_shlibdeps
63         dh_gencontrol
64 #       dh_makeshlibs
65         dh_du
66         dh_md5sums
67         dh_builddeb
68
69 binary: binary-indep binary-arch
70 .PHONY: build clean binary-indep binary-arch binary