~ubuntu-branches/ubuntu/trusty/wdq2wav/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Kevin M. Rosenberg
  • Date: 2013-07-03 22:32:01 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130703223201-nx3601luahtsq3ex
Tags: 0.9.0-1
New upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
        touch configure-stamp
18
18
 
19
19
 
20
 
build: build-stamp
 
20
build: build-stamp build-arch build-indep
21
21
 
22
 
build-stamp: configure-stamp 
 
22
build-stamp: configure-stamp
23
23
        dh_testdir
24
24
        $(MAKE)
25
25
        touch build-stamp
29
29
        dh_testroot
30
30
        rm -f build-stamp configure-stamp
31
31
        $(MAKE) clean
32
 
 
33
32
        dh_clean
34
33
 
35
34
install: build
37
36
        dh_testroot
38
37
        dh_prep
39
38
        dh_installdirs
40
 
        $(MAKE) install DESTDIR=$(CURDIR)/debian/wdq2wav
41
 
 
42
 
binary-indep: build install
43
 
 
44
 
binary-arch: build install
 
39
        DPKG_EXPORT_BUILDFLAGS=1
 
40
        env DEB_BUILD_MAINT_OPTIONS="hardening=+all" DPKG_EXPORT_BUILDFLAGS=1 CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)" CPPFLAGS="$(shell dpkg-buildflags --get CPPFLAGS)" $(MAKE)
 
41
        dh_install wdq2wav usr/bin
 
42
 
 
43
binary-indep: 
 
44
 
 
45
binary-arch: install
45
46
        dh_testdir
46
47
        dh_testroot
47
48
        dh_installdocs
48
49
        dh_installexamples
49
50
        dh_installmenu
50
51
        dh_installcron
51
 
        dh_installman
 
52
        dh_installman wdq2wav.1
52
53
        dh_installinfo
53
54
        dh_installchangelogs 
54
55
        dh_link
61
62
        dh_md5sums
62
63
        dh_builddeb
63
64
 
64
 
binary: binary-indep binary-arch
 
65
build-indep:
 
66
 
 
67
build-arch:
 
68
 
 
69
binary: clean binary-indep binary-arch
65
70
.PHONY: build clean binary-indep binary-arch binary install configure