~ubuntu-branches/ubuntu/trusty/pdfmod/trusty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2010-06-18 03:44:46 UTC
  • Revision ID: james.westby@ubuntu.com-20100618034446-n4p4bermfj3y5wsq
Tags: 0.8.3-1
Initial release (Closes: #540155)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# -*- makefile -*-
 
3
 
 
4
include /usr/share/cli-common/cli.make
 
5
 
 
6
DEBIAN_DIR = $(dir $(firstword $(MAKEFILE_LIST)))
 
7
VERSION = $(shell dpkg-parsechangelog -l$(DEBIAN_DIR)/changelog | \
 
8
                        sed -n 's/\-.*$$//;s/Version: //p')
 
9
USCAN = uscan \
 
10
        --package=pdfmod \
 
11
        --watchfile=$(DEBIAN_DIR)/watch \
 
12
        --upstream-version=$(VERSION)
 
13
 
 
14
override_dh_auto_configure:
 
15
        gnome-doc-prepare
 
16
        intltoolize
 
17
        autoreconf -vfi
 
18
        dh_auto_configure -- \
 
19
                --enable-external-poppler-sharp \
 
20
                MCS=/usr/bin/mono-csc
 
21
 
 
22
# disable tests; they need network access to download DTDs
 
23
override_dh_auto_test:
 
24
 
 
25
get-orig-source:
 
26
        $(USCAN) \
 
27
                --download \
 
28
                --force-download \
 
29
                --rename \
 
30
                --destdir=.
 
31
 
 
32
%:
 
33
        dh $@