~ubuntu-branches/ubuntu/intrepid/tk707/intrepid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar (Debian packages)
  • Date: 2004-07-25 23:44:01 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040725234401-cl4g3i2m3jvqdtdl
Tags: 0.7.21-9
* debian/control:
  + Set policy to 3.6.1.1.
  + Use tk8.4-dev instead of tk8.3-dev. Fixes strange disappearing of the
    STOP and START buttons (Closes: #205607).
  + Recommend timidity and make a comment about timidity in the long
    description (Closes: #229689).
* debian/menu:
  + Quoted strings where appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# Sample debian/rules that uses debhelper.
3
 
# GNU copyright 1997 to 1999 by Joey Hess.
 
3
# This file is public domain software, originally written by Joey Hess. 
4
4
 
5
5
# Uncomment this to turn on verbose mode.
6
6
#export DH_VERBOSE=1
7
7
 
8
 
# This is the debhelper compatability version to use.
9
 
export DH_COMPAT=2
10
 
 
11
 
configure: configure-stamp
12
 
configure-stamp:
13
 
        dh_testdir
14
 
 
15
 
        # hack around autostuff fuckage
16
 
        aclocal
17
 
        -automake -a
18
 
        autoreconf --force
19
 
 
20
 
        # Add here commands to configure the package.
21
 
        ./configure --prefix=/usr --mandir=\$${prefix}/share/man --datadir=\$${prefix}/share --infodir=\$${prefix}/share/info --with-tcl-includes=/usr/include/tcl8.3
22
 
 
23
 
        touch configure-stamp
24
 
 
25
 
build: configure-stamp build-stamp
 
8
export MAKE+=-o INSTALL.txt -o texi2help -o version.texi
 
9
 
 
10
build: build-stamp
26
11
build-stamp:
27
12
        dh_testdir
28
13
 
 
14
        # Avoid clock skews
 
15
        touch configure.in \
 
16
        && touch aclocal.m4 \
 
17
        && touch configure \
 
18
        && touch `find . -name Makefile.in`
 
19
 
29
20
        # Add here commands to compile the package.
 
21
        ./configure --prefix=/usr \
 
22
                    --infodir=/usr/share/info \
 
23
                    --mandir=/usr/share/man \
 
24
                    --with-tcl-includes=/usr/include/tcl8.4
30
25
        $(MAKE)
31
26
 
32
27
        touch build-stamp
34
29
clean:
35
30
        dh_testdir
36
31
        dh_testroot
37
 
        rm -f build-stamp configure-stamp
 
32
        rm -f build-stamp
38
33
 
39
34
        # Add here commands to clean up after the build process.
40
 
        -$(MAKE) distclean
 
35
        [ ! -f Makefile ] || $(MAKE) distclean
41
36
 
42
37
        dh_clean
43
38
 
47
42
        dh_clean -k
48
43
        dh_installdirs
49
44
 
50
 
        # Add here commands to install the package into debian/tk707.
51
 
        $(MAKE) install prefix=$(CURDIR)/debian/tk707/usr
52
 
 
53
 
        cp *.dat $(CURDIR)/debian/tk707/usr/share/tk707
 
45
        # Add here commands to install the package into debian/<packagename>
 
46
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tk707 \
 
47
                        htmldir=/usr/share/doc/tk707
54
48
 
55
49
# Build architecture-independent files here.
56
50
binary-indep: build install
60
54
binary-arch: build install
61
55
        dh_testdir
62
56
        dh_testroot
63
 
        dh_installdocs
 
57
        dh_installchangelogs ChangeLog
 
58
        dh_installdocs NEWS TODO
64
59
        dh_installexamples
 
60
#       dh_install
65
61
        dh_installmenu
66
 
        dh_installmanpages
67
 
        dh_installinfo
68
 
        dh_installchangelogs ChangeLog
69
 
        dh_link usr/share/man/man1/tk707.1 usr/share/man/man1/tk707bin.1
 
62
#       dh_installdebconf       
 
63
#       dh_installlogrotate
 
64
#       dh_installemacsen
 
65
#       dh_installpam
 
66
#       dh_installmime
 
67
#       dh_installinit
 
68
#       dh_installcron
 
69
        dh_installinfo tk707.info
 
70
#       dh_undocumented
 
71
        dh_installman
70
72
        dh_strip
71
73
        dh_compress
72
74
        dh_fixperms
 
75
#       dh_makeshlibs
73
76
        dh_installdeb
 
77
#       dh_perl
74
78
        dh_shlibdeps
75
79
        dh_gencontrol
76
80
        dh_md5sums
77
81
        dh_builddeb
78
82
 
79
83
binary: binary-indep binary-arch
80
 
.PHONY: build clean binary-indep binary-arch binary install configure
 
84
.PHONY: build clean binary-indep binary-arch binary install