~ubuntu-branches/ubuntu/wily/liblas/wily-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Bas Couwenberg
  • Date: 2014-02-21 11:52:35 UTC
  • mto: (2.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: package-import@ubuntu.com-20140221115235-ebiz60klt5y0g8d3
Move python dependencies from Build-Depends-Indep to Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
MANPAGES:=$(wildcard debian/man/*.*.xml)
 
4
 
3
5
%:
4
 
        dh $@ \
5
 
                -Scmake
 
6
        dh $@ --buildsystem cmake \
 
7
              --parallel
 
8
 
 
9
override_dh_auto_clean-indep:
 
10
        dh_auto_clean --sourcedirectory $(CURDIR)/python --buildsystem pybuild
 
11
 
 
12
override_dh_clean:
 
13
        dh_clean
 
14
 
 
15
        rm -rf $(CURDIR)/README.txt
6
16
 
7
17
override_dh_auto_configure:
8
 
        dh_auto_configure -Scmake -- \
 
18
        dh_auto_configure --buildsystem cmake -- \
 
19
                -DCMAKE_VERBOSE_MAKEFILE=1 \
9
20
                -DWITH_GDAL=TRUE \
10
21
                -DWITH_GEOTIFF=TRUE \
11
22
                -DGEOTIFF_INCLUDE_DIR=/usr/include/geotiff
12
23
 
13
 
override_dh_install:
14
 
        dh_install
 
24
override_dh_auto_configure-indep:
 
25
        dh_auto_configure --sourcedirectory $(CURDIR)/python --buildsystem pybuild
 
26
 
 
27
override_dh_auto_build-arch:
 
28
        # Create man pages from DocBook XML
 
29
        for x in $(MANPAGES) ; do \
 
30
          docbook2x-man $$x ; \
 
31
          mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \
 
32
        done
 
33
 
 
34
        dh_auto_build
 
35
 
 
36
override_dh_auto_build-indep:
 
37
        dh_auto_build --sourcedirectory $(CURDIR)/python --buildsystem pybuild
 
38
 
 
39
override_dh_auto_test:
 
40
        # don't run tests
 
41
 
 
42
override_dh_auto_install-indep:
 
43
        dh_auto_install --sourcedirectory $(CURDIR)/python --buildsystem pybuild
 
44
 
 
45
override_dh_install-arch:
 
46
        dh_install --arch
15
47
 
16
48
        # remove capi from liblas-dev
17
49
        rm -vrf $(CURDIR)/debian/liblas-dev/usr/include/liblas/capi/
18
50
 
19
 
override_dh_auto_test:
20
 
        # don't run tests
 
51
override_dh_install-indep:
 
52
        dh_install --indep
 
53
        dh_python2 --indep
 
54