~ubuntu-branches/ubuntu/oneiric/vdr-plugin-svdrpservice/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Tobias Grimm
  • Date: 2011-04-08 20:20:27 UTC
  • Revision ID: james.westby@ubuntu.com-20110408202027-qvj0gawfxfuwz3h9
Tags: 0.0.4-5
* Build-depend on vdr-dev >= 1.7.17
* Updated debian/copyright
* Standards-Version: 3.9.1
* Switched to debhelper 7 and dropped cdbs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
include /usr/share/cdbs/1/rules/debhelper.mk
4
 
#include /usr/share/cdbs/1/rules/dpatch.mk
5
 
 
6
 
DEB_INSTALL_CHANGELOGS_ALL = HISTORY
7
 
 
8
 
MAKE_OPTIONS = DVBDIR=/usr VDRDIR=/usr/include/vdr LIBDIR=. \
9
 
               LOCALEDIR=debian/tmp/usr/share/locale
10
 
 
11
 
common-build-arch::
12
 
        $(MAKE) all $(MAKE_OPTIONS)
13
 
 
14
 
cleanbuilddir::
 
3
# Uncomment this to turn on verbose mode.
 
4
#export DH_VERBOSE=1
 
5
 
 
6
MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=locale
 
7
 
 
8
%:
 
9
        dh $@
 
10
 
 
11
override_dh_auto_build:
 
12
        dh_auto_build -- all $(MAKE_OPTIONS)
 
13
 
 
14
override_dh_auto_clean:
15
15
        $(MAKE) -o .dependencies clean $(MAKE_OPTIONS)
16
 
        rm -f libvdr-*.so.*
 
16
        rm -rf locale libvdr-*.so.*
17
17
 
18
 
common-binary-predeb-arch::
 
18
override_dh_gencontrol:
19
19
        sh /usr/share/vdr-dev/dependencies.sh
 
20
        dh_gencontrol