~ubuntu-branches/ubuntu/utopic/libtk-tablematrix-perl/utopic-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Bart Martens
  • Date: 2008-03-01 07:28:01 UTC
  • mfrom: (4.1.4 hardy)
  • Revision ID: james.westby@ubuntu.com-20080301072801-m0dsbl3dxjzbnfhs
Tags: 1.23-5
* debian/control: Added version, perl-tk (>= 1:804.028).  Closes: #468442.
* debian/control: Homepage, Standards-Version, and my e-mail address.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
PERL=/usr/bin/perl
4
 
 
5
 
binary: binary-arch
6
 
 
7
 
binary-arch: build install
8
 
        dh_testdir
9
 
        dh_testroot
10
 
        dh_installdocs README 
11
 
        dh_installchangelogs ChangeLog
12
 
        dh_installexamples -XCVS demos/*
13
 
        dh_strip
14
 
        dh_fixperms
15
 
        dh_compress
16
 
        dh_installdeb
17
 
        dh_perl
18
 
        dh_shlibdeps
19
 
        dh_gencontrol
20
 
        dh_md5sums
21
 
        dh_builddeb
22
 
 
23
 
binary-indep: 
24
 
 
25
 
install: build
26
 
        dh_testdir
27
 
        dh_testroot
28
 
        $(MAKE) install PREFIX=$(CURDIR)/debian/libtk-tablematrix-perl/usr
29
 
        #$(MAKE) test     # Can't run all of the time, since it requires an X display
 
3
include /usr/share/cdbs/1/rules/debhelper.mk
 
4
include /usr/share/cdbs/1/class/makefile.mk
 
5
include /usr/share/cdbs/1/class/perlmodule.mk
 
6
include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
7
 
 
8
DEB_MAKE_CHECK_TARGET =
 
9
 
 
10
install/libtk-tablematrix-perl::
30
11
        rm -rfv debian/libtk-tablematrix-perl/usr/share/perl5              # empty                  
31
12
        rm -rfv debian/libtk-tablematrix-perl/usr/lib/perl5/auto/Tk/pTk    # conflicts with perl-tk
32
13
        rm -rfv debian/libtk-tablematrix-perl/usr/lib/perl5/Tk/pTk         # conflicts with perl-tk
33
 
 
34
 
build: configure-stamp build-stamp
35
 
build-stamp: 
36
 
        dh_testdir
37
 
        $(MAKE) OPTIMIZE="-O2 -g -Wall"
38
 
        touch build-stamp
39
 
 
40
 
configure: configure-stamp
41
 
configure-stamp:
42
 
        dh_testdir
43
 
        $(PERL) Makefile.PL INSTALLDIRS=vendor
44
 
        touch configure-stamp
45
 
 
46
 
clean:
47
 
        dh_testdir
48
 
        dh_testroot
49
 
        if [ -e Makefile ]; then $(MAKE) -i distclean; fi
50
 
        dh_clean build-stamp configure-stamp \
51
 
                pTk/mTk/Tktable/config.cache pTk/mTk/Tktable/config.log \
52
 
                pTk/mTk/Tktable800/config.cache pTk/mTk/Tktable800/config.log
53
 
 
54
 
.PHONY: binary binary-arch binary-indep install build configure clean