~ubuntu-branches/ubuntu/raring/libxfont/raring-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2010-11-19 01:17:48 UTC
  • mfrom: (1.1.13 upstream) (10.1.8 experimental)
  • Revision ID: james.westby@ubuntu.com-20101119011748-k5809pbrfmwd0ywd
Tags: 1:1.4.3-1
* New upstream release.
* Bump xutils-dev build-dep for new macros.
* Add xmlto, xorg-sgml-doctools, and w3m build-dep for the doc.
* Pass --with-xmlto and --without-fop for the regular build (we want
  html and txt only). Disable both for the udeb build.
* Tweak doc filenames, and handle that through dh_install.
* Add --fail-missing -XlibXfont.la for the second dh_install call (the
  udeb one), for additional safety.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
        confflags += --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE)
32
32
endif
33
33
 
34
 
doc_files = \
35
 
        doc/fontlib.css \
36
 
        build/doc/fontlib.txt \
37
 
        build/doc/fontlib.html
38
 
 
39
34
confflags += \
40
35
        --enable-fc \
41
36
        --enable-builtins \
52
47
        ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
53
48
                     --infodir=\$${prefix}/share/info $(confflags) \
54
49
                     --with-bzip2 \
 
50
                     --with-xmlto --without-fop \
55
51
                     CFLAGS="$(CFLAGS)" LDFLAGS=""
56
52
 
57
53
build-udeb/config.status: configure
60
56
        ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
61
57
                     --infodir=\$${prefix}/share/info $(confflags) \
62
58
                     --without-bzip2 \
 
59
                     --without-xmlto --without-fop \
63
60
                     CFLAGS="$(CFLAGS)" LDFLAGS=""
64
61
 
65
62
build: build-stamp
103
100
        dh_testroot
104
101
 
105
102
        dh_installdocs
106
 
        dh_install --sourcedir=debian/tmp --list-missing -XlibXfont.la
107
 
        dh_install -p$(PACKAGE)-udeb --sourcedir=debian/tmp-udeb
108
 
        install -d debian/libxfont-dev/usr/share/doc/libxfont-dev
109
 
        install -m 644 $(doc_files) debian/libxfont-dev/usr/share/doc/libxfont-dev
 
103
        dh_install --sourcedir=debian/tmp --fail-missing -XlibXfont.la
 
104
        dh_install -p$(PACKAGE)-udeb --sourcedir=debian/tmp-udeb --fail-missing -XlibXfont.la
110
105
        dh_installchangelogs ChangeLog
111
106
        dh_link
112
107
        dh_strip --dbg-package=$(PACKAGE)-dbg