~ubuntu-branches/ubuntu/utopic/openmsx-debugger/utopic

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Joost Yervante Damad
  • Date: 2007-08-10 18:32:50 UTC
  • Revision ID: james.westby@ubuntu.com-20070810183250-3dqg1nkukofwz5r9
Tags: 0.0.0.svn20070518-1
Initial release. (Closes: #410556)

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
endif
19
19
 
20
20
build:
21
 
        $(MAKE) qmake=/usr/share/qt4/bin/qmake
 
21
        $(MAKE)
 
22
        stx2any -T man debian/openmsx-debugger.txt > debian/openmsx-debugger.1
22
23
        touch build-stamp
23
24
 
24
25
clean:
25
26
        dh_testdir
26
27
        dh_testroot
27
28
        rm -f build-stamp
28
 
        -$(MAKE) clean
 
29
        $(MAKE) clean
29
30
        -rm -rf derived
30
31
        dh_clean
31
32
 
34
35
        dh_testroot
35
36
        dh_clean -k
36
37
        dh_installdirs
37
 
        install -d $(CURDIR)/debian/tmp/usr/bin
38
 
        install gen/derived/bin/openmsx-debugger $(CURDIR)/debian/tmp/usr/bin
39
 
        dh_install -a --sourcedir=debian/tmp
 
38
        install -d $(CURDIR)/debian/openmsx-debugger/usr/bin
 
39
        install -m 755 derived/bin/openmsx-debugger $(CURDIR)/debian/openmsx-debugger/usr/bin
40
40
 
41
41
# Build architecture-independent files here.
42
42
binary-indep: build install
43
 
        dh_testdir -i
44
 
        dh_testroot -i
45
 
        dh_installdocs -i
46
 
        dh_installchangelogs -i ChangeLog
47
 
        dh_installexamples -i
48
 
        dh_installmenu -i
49
 
        dh_link -i
50
 
        dh_strip -i
51
 
        dh_compress -i
52
 
        dh_fixperms -i
53
 
        dh_installdeb -i
54
 
        dh_gencontrol -i
55
 
        dh_md5sums -i
56
 
        dh_builddeb -i
57
43
 
58
44
# Build architecture-dependent files here.
59
45
binary-arch: build install
60
 
        dh_testdir -a
61
 
        dh_testroot -a
62
 
        dh_installman -a debian/openmsx.1
63
 
        dh_link -a
64
 
        dh_strip -a
65
 
        dh_compress -a
66
 
        dh_fixperms -a
67
 
        dh_installdeb -a
68
 
        dh_shlibdeps -a
69
 
        dh_gencontrol -a
70
 
        dh_md5sums -a
71
 
        dh_builddeb -a
 
46
        dh_testdir
 
47
        dh_testroot
 
48
        dh_installman debian/openmsx-debugger.1
 
49
        dh_installchangelogs
 
50
        dh_installdocs
 
51
        dh_link
 
52
        dh_strip
 
53
        dh_compress
 
54
        dh_fixperms
 
55
        dh_shlibdeps
 
56
        dh_installdeb
 
57
        dh_gencontrol
 
58
        dh_md5sums
 
59
        dh_builddeb
72
60
 
73
61
binary: binary-indep binary-arch
74
62
.PHONY: build clean binary-indep binary-arch binary install