~ubuntu-branches/ubuntu/wily/xmltv/wily-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Chris Butler
  • Date: 2009-08-15 11:24:58 UTC
  • mfrom: (1.2.13 upstream)
  • Revision ID: james.westby@ubuntu.com-20090815112458-8isr2g00r9670mn5
* New upstream release
  - tv_grab_uk_rt: improve UTF8 support, improve actor support
  - tv_grab_huro:   Add Slovakian episode parsing
  - tv_grab_za:     South African grabber fixed
* Disabled grab/it_dvb as Linux::DVB module is currently not packaged
  for Debian
* Refreshed nl_icons usage patch
* Added libdatetime-format-strptime-perl to (Build-)Depends
* Migrated packaging to dh
* Updated to Standards-Version 3.8.2 (no changes required)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
# include quilt
4
 
include /usr/share/quilt/quilt.make
5
 
 
6
3
PERL=/usr/bin/perl
7
4
 
8
 
binary: binary-indep
 
5
%:
 
6
        dh --with quilt $@
9
7
 
10
 
binary-indep: build install
11
 
        dh_testdir
12
 
        dh_testroot
 
8
override_dh_installchangelogs:
13
9
        dh_installchangelogs -A ChangeLog  # all packages get the upstream changelog
14
 
        dh_installdocs -A                  # see *.docs for more information
 
10
 
 
11
override_dh_install:
 
12
        rm -rf $(CURDIR)/debian/tmp/usr/share/doc/xmltv-*                     # We'll install our own documentation
15
13
        dh_install --fail-missing          # see *.install for more information
16
 
        dh_strip
17
 
        dh_fixperms
18
 
        dh_compress
19
 
        dh_installdeb
20
 
        dh_perl
21
 
        dh_gencontrol
22
 
        dh_md5sums
23
 
        dh_builddeb
24
 
 
25
 
install: build
26
 
        dh_testdir
27
 
        dh_testroot
28
 
        dh_installdirs
29
 
        $(MAKE) install INSTALLDIRS=vendor PREFIX=$(CURDIR)/debian/tmp    # Give install process "temporary" prefix
30
 
#       sh debian/fix_manpages                                            # Fix certain illegal characters in manpages
31
 
        rm -rf $(CURDIR)/debian/tmp/share/doc/xmltv-*                     # We'll install our own documentation
32
 
 
33
 
build: patch configure build-stamp
34
 
build-stamp: 
35
 
        dh_testdir
36
 
        $(MAKE)
37
 
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
38
 
        $(MAKE) test
39
 
endif
40
 
        touch build-stamp
41
 
 
42
 
configure: configure-stamp
43
 
configure-stamp:
44
 
        dh_testdir
 
14
 
 
15
#install: build
 
16
#       dh_testdir
 
17
#       dh_testroot
 
18
#       dh_installdirs
 
19
#       $(MAKE) install INSTALLDIRS=vendor PREFIX=$(CURDIR)/debian/tmp    # Give install process "temporary" prefix
 
20
##      sh debian/fix_manpages                                            # Fix certain illegal characters in manpages
 
21
 
 
22
override_dh_auto_configure:
45
23
        $(PERL) Makefile.PL --yes --strict-deps INSTALLDIRS=vendor PREFIX=/usr   # Give configure process "real" prefix
46
 
        touch configure-stamp
47
 
 
48
 
clean: clean-patched unpatch
49
 
clean-patched:
50
 
        dh_testdir
51
 
        dh_testroot
52
 
        if [ -e Makefile ]; then $(MAKE) -i distclean; fi
53
 
        rm -f build-stamp configure-stamp
54
 
        dh_clean
55
 
 
56
 
.PHONY: binary binary-indep install build configure clean