~ubuntu-branches/ubuntu/utopic/batmand/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Sven Eckelmann
  • Date: 2010-06-28 22:43:59 UTC
  • Revision ID: james.westby@ubuntu.com-20100628224359-n41cop5ge2cem2fg
Tags: 0.3.2-6
* debian/copyright: Update copyright years
* Remove outdated README.source
* Convert to 3.0 (quilt) source format
* Use dh_dkms to provide DKMS support
* debian/control:
  - Upgraded to policy 3.9.0, no changes required
  - Build only on linux due dependencies on the linux routing code

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# Uncomment this to turn on verbose mode.
10
10
#export DH_VERBOSE=1
11
11
 
12
 
include /usr/share/quilt/quilt.make
13
 
 
14
12
INSTALL=/usr/bin/install
15
13
psource:=batmand-gateway-source
16
14
dkmssource:=batmand-gateway-dkms
72
70
 
73
71
build: build-stamp
74
72
 
75
 
build-stamp: $(QUILT_STAMPFN)
 
73
build-stamp:
76
74
        dh_testdir
77
75
 
78
76
        # Add here commands to compile the package.
81
79
 
82
80
        touch $@
83
81
 
84
 
clean: unpatch
 
82
clean:
85
83
        dh_testdir
86
84
        dh_testroot
87
85
 
131
129
        cd debian/$(psource)$(MA_DIR)/packages/ && ln -sf default.sh $(psource)
132
130
        cd debian/$(psource)/usr/src && tar c modules | bzip2 -9 > $(sname).tar.bz2 && rm -rf modules
133
131
 
134
 
        sed -e 's/[@]VERSION[@]/$(version)/' debian/dkms.conf.in \
135
 
            > debian/$(dkmssource)/usr/src/$(sname)-$(version)/dkms.conf
136
 
 
 
132
        dh_dkms -V
137
133
        dh_install
138
134
 
139
135