~ubuntu-branches/ubuntu/jaunty/almanah/jaunty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Ebner
  • Date: 2008-07-04 15:07:43 UTC
  • Revision ID: james.westby@ubuntu.com-20080704150743-7rrdzlrhf4xcwhhz
Tags: 0.4.0-0ubuntu1
Initial release (LP: #245527)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
config.status: configure
 
4
        dh_testdir      
 
5
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
 
6
        cp -f /usr/share/misc/config.sub config.sub
 
7
endif
 
8
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
 
9
        cp -f /usr/share/misc/config.guess config.guess
 
10
endif
 
11
        ./configure --prefix=/usr
 
12
 
 
13
build: build-stamp
 
14
 
 
15
build-stamp:  config.status
 
16
        dh_testdir
 
17
        $(MAKE)
 
18
        touch $@
 
19
 
 
20
clean:
 
21
        dh_testdir
 
22
        dh_testroot
 
23
        rm -f build-stamp 
 
24
        [ ! -f Makefile ] || $(MAKE) distclean
 
25
        rm -f config.sub config.guess
 
26
        dh_clean
 
27
 
 
28
install: build
 
29
        dh_testdir
 
30
        dh_testroot
 
31
        dh_clean -k 
 
32
        dh_installdirs
 
33
        $(MAKE) DESTDIR=$(CURDIR)/debian/almanah install
 
34
        chrpath -d $(CURDIR)/debian/almanah/usr/bin/almanah
 
35
 
 
36
binary-indep: build install
 
37
 
 
38
binary-arch: build install
 
39
        dh_testdir
 
40
        dh_testroot
 
41
        dh_installchangelogs ChangeLog
 
42
        dh_installdocs
 
43
        dh_icons
 
44
        dh_install
 
45
        dh_installmenu
 
46
        dh_installman
 
47
        dh_strip
 
48
        dh_compress
 
49
        dh_fixperms
 
50
        dh_installdeb
 
51
        dh_shlibdeps
 
52
        dh_gencontrol
 
53
        dh_md5sums
 
54
        dh_builddeb
 
55
 
 
56
binary: binary-indep binary-arch
 
57
.PHONY: build clean binary-indep binary-arch binary install