~ubuntu-branches/ubuntu/precise/ball/precise

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Hildebrandt
  • Date: 2009-08-16 01:23:30 UTC
  • Revision ID: james.westby@ubuntu.com-20090816012330-2x2cd2tk68n633dn
Tags: 1.3+beta2.1-2
* Re-upload upon initial rejection to improve debian/copyright (Closes: #407665)
* Improved Doc-Base 
* Eliminated two lintian warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f 
 
2
# -*- makefile -*-
 
3
# Uncomment this to turn on verbose mode.
 
4
export DH_VERBOSE=1
 
5
 
 
6
CFLAGS = -Wall -g
 
7
 
 
8
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 
9
        CFLAGS += -O0
 
10
else
 
11
        CFLAGS += -O2
 
12
endif
 
13
 
 
14
configure: configure-stamp
 
15
configure-stamp:
 
16
        dh_testdir
 
17
        bash debian/debian-ball-install configure
 
18
        touch $@
 
19
 
 
20
build: build-stamp 
 
21
build-stamp: configure-stamp
 
22
        dh_testdir
 
23
        bash debian/debian-ball-install build
 
24
        touch $@
 
25
 
 
26
clean:
 
27
        dh_testdir
 
28
        dh_testroot
 
29
        bash debian/debian-ball-install clean
 
30
        dh_clean build-stamp configure-stamp
 
31
 
 
32
install: build
 
33
        dh_testdir
 
34
        dh_testroot
 
35
        dh_clean -k 
 
36
        dh_installdirs
 
37
        #DESTDIR=$(CURDIR)/debian/ballview 
 
38
        bash debian/debian-ball-install install
 
39
 
 
40
 
 
41
binary-indep: build install
 
42
binary-arch: build install
 
43
        dh_testdir
 
44
        dh_testroot
 
45
        dh_installchangelogs 
 
46
        dh_installdocs
 
47
        dh_installexamples
 
48
#       dh_install
 
49
        dh_installmenu
 
50
#       dh_desktop
 
51
# dh_python
 
52
        dh_installman -p ballview
 
53
        dh_link
 
54
        dh_strip -p libball1.3
 
55
        dh_compress
 
56
        dh_fixperms
 
57
        dh_makeshlibs
 
58
        dh_installdeb
 
59
        dh_shlibdeps
 
60
        dh_gencontrol
 
61
        dh_md5sums
 
62
        dh_builddeb
 
63
 
 
64
get-orig-source:
 
65
        if [ -x /usr/bin/uscan ]; then \
 
66
          uscan --verbose --force-download ; \
 
67
        else \
 
68
          echo "uscan is not installed to perform the download." ; \
 
69
        fi
 
70
 
 
71
binary: binary-indep binary-arch
 
72
.PHONY: build clean binary-indep binary-arch binary install configure