~ubuntu-branches/ubuntu/maverick/xpdf/maverick

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Hamish Moffatt
  • Date: 2006-05-27 00:58:12 UTC
  • Revision ID: james.westby@ubuntu.com-20060527005812-wpto58yxljb76t1c
Tags: 3.01-8
* Add patch 05_freetype-2.2.dpatch: make splash/SplashFTFont.cc
  compatible with FreeType 2.2 (ie don't use FreeType internals
  directly any more). Fixes unreported FTBFS.
* Enable additional compile-time options: --enable-opi,
  --enable-multithreaded, --enable-wordlist

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#                                                       -*- makefile -*-
3
3
# debian.rules file for the Debian GNU/Linux xpdf package
4
4
# Copyright 1996,1997,1998 by Dirk Eddelbuettel <edd@debian.org>
5
 
# Copyright 1998-2003 by Hamish Moffatt <hamish@debian.org>
 
5
# Copyright 1998-2006 by Hamish Moffatt <hamish@debian.org>
6
6
 
7
7
build: build-stamp
8
8
build-stamp: patch
9
9
        dh_testdir
10
 
        ./configure --prefix=/usr --with-gzip --with-x --with-freetype2-includes=/usr/include/freetype2 --sysconfdir=/etc/xpdf --enable-freetype2 --with-t1-includes=/usr/include
 
10
        ./configure \
 
11
                --prefix=/usr \
 
12
                --sysconfdir=/etc/xpdf \
 
13
                --mandir=/usr/share/man \
 
14
                --with-x \
 
15
                --enable-freetype2 \
 
16
                --enable-opi \
 
17
                --enable-wordlist \
 
18
                --enable-multithreaded \
 
19
                --with-freetype2-includes=/usr/include/freetype2 \
 
20
                --with-t1-includes=/usr/include
11
21
        $(MAKE) 
12
22
        touch build-stamp
13
23
 
52
62
        mkdir -p debian/tmp
53
63
        mkdir -p debian/tmp/usr/share
54
64
        $(MAKE) install DESTDIR=`pwd`/debian/tmp
55
 
        mv debian/tmp/usr/man debian/tmp/usr/share
56
65
 
57
66
        ln -sf xpdf-common debian/xpdf-reader/usr/share/doc/xpdf-reader
58
67
        ln -sf xpdf-common debian/xpdf-utils/usr/share/doc/xpdf-utils