~ubuntu-branches/ubuntu/lucid/divxcomp/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Dario Minnucci (midget)
  • Date: 2009-09-11 06:15:46 UTC
  • Revision ID: james.westby@ubuntu.com-20090911061546-mgkp8s6tkrhxvvjb
Tags: 0.1-6
* Updated to debhelper 7 
* Conforms with latest Standards Version 3.8.3 
* debian/copyright: Adapted to DEP5
  (see http://dep.debian.net/deps/dep5/ for details) 
* debian/rules: Fixes and improvements. 
* debian/watch: Added. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#export DH_VERBOSE=1
7
7
 
8
8
 
9
 
 
10
 
 
11
9
CFLAGS = -Wall -g
12
10
 
13
11
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
22
20
configure: configure-stamp
23
21
configure-stamp:
24
22
        dh_testdir
25
 
        # Add here commands to configure the package.
26
23
 
27
24
        touch configure-stamp
28
25
 
29
26
 
30
27
build: build-stamp
31
 
 
32
28
build-stamp: configure-stamp 
33
29
        dh_testdir
34
30
 
35
 
        # Add here commands to compile the package.
36
 
        #$(MAKE)
37
 
        #/usr/bin/docbook-to-man debian/divxcomp.sgml > divxcomp.1
38
 
 
39
31
        touch build-stamp
40
32
 
 
33
 
41
34
clean:
42
35
        dh_testdir
43
36
        dh_testroot
44
37
        rm -f build-stamp configure-stamp
45
38
 
46
39
        # Add here commands to clean up after the build process.
47
 
        #-$(MAKE) clean
48
 
 
49
40
        dh_clean
50
41
 
 
42
 
51
43
install: build
52
44
        dh_testdir
53
45
        dh_testroot
54
 
        dh_clean -k
 
46
        dh_prep
55
47
        dh_installdirs
56
48
 
57
 
        # Add here commands to install the package into debian/divxcomp.
58
 
        #$(MAKE) install DESTDIR=$(CURDIR)/debian/divxcomp
59
 
        mkdir -p $(CURDIR)/debian/divxcomp/usr/bin/
60
49
        cp divxcomp.pl $(CURDIR)/debian/divxcomp/usr/bin/divxcomp
61
50
 
62
51
 
63
 
# Build architecture-independent files here.
 
52
binary-arch:
64
53
binary-indep: build install
65
 
# We have nothing to do by default.
66
 
 
67
 
# Build architecture-dependent files here.
68
 
binary-arch: build install
69
54
        dh_testdir
70
55
        dh_testroot
71
56
        dh_installchangelogs ChangeLog
76
61
        dh_strip
77
62
        dh_compress
78
63
        dh_fixperms
79
 
#       dh_perl
80
 
#       dh_makeshlibs
 
64
        dh_perl
81
65
        dh_installdeb
82
66
        dh_shlibdeps
83
67
        dh_gencontrol
84
68
        dh_md5sums
85
69
        dh_builddeb
86
70
 
87
 
binary: binary-indep binary-arch
88
 
.PHONY: build clean binary-indep binary-arch binary install configure
 
71
 
 
72
binary: binary-indep
 
73
.PHONY: build clean binary-indep binary install configure