~ubuntu-branches/ubuntu/lucid/mp3val/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2009-06-11 23:45:06 UTC
  • mfrom: (4.1.1 karmic)
  • Revision ID: james.westby@ubuntu.com-20090611234506-00w8jq0n17z6buaz
Tags: 0.1.7-5
* debian/patches/30_bts-532803_FTBFS_gcc43.dpatch
  - added to include the third argument to open() call (it FTBFS if using
    _FORTIFY_SOURCE=1); thanks to Fabrice Coutadeur for the report and patch;
    Closes: #532803; urgency=medium because fix serious bug

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
        CFLAGS += -O2
13
13
endif
14
14
 
15
 
configure: configure-stamp
16
 
configure-stamp:
17
 
        dh_testdir
18
 
        # Add here commands to configure the package.
19
 
 
20
 
        touch configure-stamp
21
 
 
22
 
 
23
15
build: build-stamp
24
 
build-stamp: configure-stamp patch-stamp
 
16
build-stamp: patch-stamp
25
17
        dh_testdir
26
18
 
27
19
        # Add here commands to compile the package.
33
25
clean-patched: patch-stamp
34
26
        dh_testdir
35
27
        dh_testroot
36
 
        rm -f build-stamp configure-stamp
37
28
 
38
29
        # Add here commands to clean up after the build process.
39
30
        [ ! -f Makefile ] || $(MAKE) -f Makefile.gcc clean
40
31
 
41
 
        dh_clean 
 
32
        dh_clean build-stamp
42
33
 
43
34
install: build
44
35
        dh_testdir
50
41
        mkdir -p $(CURDIR)/debian/mp3val/usr/bin/
51
42
        cp mp3val $(CURDIR)/debian/mp3val/usr/bin/
52
43
 
53
 
 
54
44
# Build architecture-independent files here.
55
45
binary-indep: build install
56
46
# We have nothing to do by default.
61
51
        dh_testroot
62
52
        dh_installchangelogs    changelog.txt
63
53
        dh_installdocs          manual.html
64
 
        dh_installexamples
65
54
        dh_installman           debian/mp3val.1
66
 
        dh_link
67
55
        dh_strip
68
56
        dh_compress
69
57
        dh_fixperms
74
62
        dh_builddeb
75
63
 
76
64
binary: binary-indep binary-arch
77
 
.PHONY: build clean binary-indep binary-arch binary install configure
 
65
.PHONY: build clean binary-indep binary-arch binary install