~john.vrbanac/ubuntu-app-reviews/minicast

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Aaron Lewis
  • Date: 2012-07-09 07:20:16 UTC
  • Revision ID: the.warl0ck.1989@gmail.com-20120709072016-qskuu5vwffan7reu
Initial Release

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# Sample debian/rules that uses debhelper.
 
3
# This file is public domain software, originally written by Joey Hess. 
 
4
#
 
5
# This version is for packages that are architecture dependent.
 
6
 
 
7
# Uncomment this to turn on verbose mode.
 
8
#export DH_VERBOSE=1
 
9
 
 
10
build: build-stamp
 
11
build-stamp:
 
12
        dh_testdir
 
13
 
 
14
        # Add here commands to compile the package.
 
15
        qmake-qt4 -config release
 
16
        make
 
17
        
 
18
        touch build-stamp
 
19
        
 
20
clean:
 
21
        dh_testdir
 
22
        dh_testroot
 
23
        rm -f build-stamp
 
24
 
 
25
        # Add here commands to clean up after the build process.
 
26
#       $(MAKE) clean
 
27
#       $(MAKE) distclean
 
28
        
 
29
        dh_clean
 
30
 
 
31
install: build
 
32
        dh_testdir
 
33
        dh_testroot
 
34
        dh_prep
 
35
        dh_installdirs
 
36
 
 
37
        # Add here commands to install the package into debian/<packagename>
 
38
        make INSTALL_ROOT=`pwd`/debian/minicast install
 
39
        
 
40
# Build architecture-independent files here.
 
41
binary-indep: build install
 
42
        # We have nothing to do by default.
 
43
 
 
44
# Build architecture-dependent files here.
 
45
binary-arch: build install
 
46
        dh_testdir
 
47
        dh_testroot
 
48
        dh_installchangelogs
 
49
        dh_installdocs
 
50
        dh_installexamples
 
51
        dh_installman
 
52
        dh_link
 
53
        dh_strip
 
54
        dh_compress
 
55
        dh_fixperms
 
56
        dh_installdeb
 
57
        dh_shlibdeps
 
58
        dh_gencontrol
 
59
        dh_md5sums
 
60
        dh_builddeb
 
61
 
 
62
binary: binary-indep binary-arch
 
63
.PHONY: build clean binary-indep binary-arch binary install