~ubuntu-branches/ubuntu/oneiric/gmemusage/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Adrian Bridgett
  • Date: 2002-04-11 20:54:15 UTC
  • Revision ID: james.westby@ubuntu.com-20020411205415-04zuph8t11oam1mv
Tags: 0.2-8
* lintian fix (emacs settings in changelog)
* update build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
# This script uses debhelper by Joey Hess
 
4
export DH_VERBOSE=1
 
5
DEB=debian/tmp
 
6
 
 
7
build:  build-stamp
 
8
 
 
9
build-stamp:
 
10
        dh_testdir
 
11
        # build package here
 
12
        $(MAKE) LOCAL_LDFLAGS=-g
 
13
        touch build-stamp
 
14
 
 
15
clean:
 
16
        dh_testdir
 
17
        dh_testroot
 
18
        rm -f build-stamp
 
19
        -$(MAKE) -i clean
 
20
        dh_clean
 
21
 
 
22
binary-indep:   build
 
23
 
 
24
binary-arch:    build
 
25
        dh_testdir
 
26
        dh_testroot
 
27
        dh_clean
 
28
        dh_installdirs usr/bin
 
29
        dh_installdocs TODO CREDITS
 
30
        cp gmemusage $(DEB)/usr/bin
 
31
        dh_installmanpages
 
32
        dh_installmenu
 
33
        dh_installchangelogs ChangeLog
 
34
        dh_strip
 
35
        dh_compress
 
36
        dh_fixperms
 
37
        dh_installdeb
 
38
        dh_shlibdeps
 
39
        dh_gencontrol
 
40
        dh_md5sums
 
41
        dh_builddeb
 
42
 
 
43
binary: binary-indep binary-arch
 
44
.PHONY: build clean binary-indep binary-arch binary