~ubuntu-branches/ubuntu/natty/mp3val/natty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Sandro Tosi
  • Date: 2008-01-23 09:11:35 UTC
  • mfrom: (3.1.3 hardy)
  • Revision ID: james.westby@ubuntu.com-20080123091135-r10vczs51d63e8p0
Tags: 0.1.7-3
* debian/control
  - bump Standards-Version to 3.7.3
  - bump dependency against debhelper to >=5
* debian/compat
  - bump to 5
* debian/dirs
  - removed since not needed
* debian/rules
  - do not ignore anymore clean error due to missing makefile
* debian/copyright
  - clear separation of upstream author, license and copyright
  - link to /usr/share/common-licenses/GPL file
* debian/mp3val.1
  - escaped minus signs (lintian warning)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# -*- makefile -*-
3
 
# Sample debian/rules that uses debhelper.
4
 
# This file was originally written by Joey Hess and Craig Small.
5
 
# As a special exception, when this file is copied by dh-make into a
6
 
# dh-make output file, you may use that output file without restriction.
7
 
# This special exception was added by Craig Small in version 0.37 of dh-make.
8
 
 
9
 
# Uncomment this to turn on verbose mode.
10
 
#export DH_VERBOSE=1
11
 
 
12
 
 
 
3
 
 
4
# using dpatch
 
5
include /usr/share/dpatch/dpatch.make
13
6
 
14
7
CFLAGS = -Wall -g
15
8
 
28
21
 
29
22
 
30
23
build: build-stamp
31
 
 
32
 
build-stamp: configure-stamp 
 
24
build-stamp: configure-stamp patch-stamp
33
25
        dh_testdir
34
26
 
35
27
        # Add here commands to compile the package.
36
 
        $(MAKE) -f Makefile.gcc
37
 
        #docbook-to-man debian/mp3val.sgml > mp3val.1
 
28
        $(MAKE) -f Makefile.linux CXXFLAGS='$(CFLAGS)'
38
29
 
39
30
        touch build-stamp
40
31
 
41
 
clean:
 
32
clean: clean-patched unpatch
 
33
clean-patched: patch-stamp
42
34
        dh_testdir
43
35
        dh_testroot
44
36
        rm -f build-stamp configure-stamp
45
37
 
46
38
        # Add here commands to clean up after the build process.
47
 
        -$(MAKE) -f Makefile.gcc clean
 
39
        [ ! -f Makefile ] || $(MAKE) -f Makefile.gcc clean
48
40
 
49
41
        dh_clean 
50
42
 
67
59
binary-arch: build install
68
60
        dh_testdir
69
61
        dh_testroot
70
 
        dh_installchangelogs 
 
62
        dh_installchangelogs    changelog.txt
71
63
        dh_installdocs          manual.html
72
64
        dh_installexamples
73
 
#       dh_install
74
 
#       dh_installmenu
75
 
#       dh_installdebconf       
76
 
#       dh_installlogrotate
77
 
#       dh_installemacsen
78
 
#       dh_installpam
79
 
#       dh_installmime
80
 
#       dh_installinit
81
 
#       dh_installcron
82
 
#       dh_installinfo
83
65
        dh_installman           debian/mp3val.1
84
66
        dh_link
85
67
        dh_strip
86
68
        dh_compress
87
69
        dh_fixperms
88
 
#       dh_perl
89
 
#       dh_python
90
 
#       dh_makeshlibs
91
70
        dh_installdeb
92
71
        dh_shlibdeps
93
72
        dh_gencontrol