~gerboland/unity-2d/test-launcher-reveal-tweak

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Olivier Tilloy
  • Date: 2010-09-01 10:01:58 UTC
  • Revision ID: olivier.tilloy@canonical.com-20100901100158-dl0gfqvd3rmmn5d4
Tags: 0.0~bzr7
Initial packaging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
 
 
4
# Uncomment this to turn on verbose mode.
 
5
export DH_VERBOSE=1
 
6
 
 
7
Makefile:
 
8
        qmake
 
9
 
 
10
build: build-stamp
 
11
 
 
12
build-stamp: Makefile
 
13
        dh_testdir
 
14
        dh_quilt_patch
 
15
        $(MAKE)
 
16
        touch $@
 
17
 
 
18
clean:
 
19
        dh_testdir
 
20
        dh_testroot
 
21
        rm -f build-stamp
 
22
        dh_auto_clean
 
23
        dh_quilt_unpatch
 
24
        dh_clean
 
25
 
 
26
install: build
 
27
        dh_testdir
 
28
        dh_testroot
 
29
        dh_prep
 
30
        $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/unity-qt-launcher install
 
31
 
 
32
binary-indep: build install
 
33
 
 
34
binary-arch: build install
 
35
        dh_testdir
 
36
        dh_testroot
 
37
        dh_link
 
38
        dh_strip
 
39
        dh_compress
 
40
        dh_fixperms
 
41
        dh_installdeb
 
42
        dh_shlibdeps
 
43
        dh_gencontrol
 
44
        dh_md5sums
 
45
        dh_builddeb
 
46
 
 
47
binary: binary-indep binary-arch
 
48
 
 
49
.PHONY: build build-stamp clean install binary-indep binary-arch binary
 
50