~ubuntu-branches/ubuntu/natty/libxfixes/natty

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Jamey Sharp
  • Date: 2006-11-27 15:19:42 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20061127151942-f5uxe2f75pb5rm7k
* libXfixes: Unlocks the Display without having it locked (Closes:
  #400446)
* Add Josh and myself to Uploaders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# debian/rules for the Debian libxfixes package.
3
3
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>
4
4
# Copyright © 2005 Daniel Stone <daniel@fooishbar.org>
 
5
# Copyright © 2005 David Nusinow <dnusinow@debian.org>
5
6
 
6
7
# Uncomment this to turn on verbose mode.
7
8
#export DH_VERBOSE=1
9
10
# set this to the name of the main shlib's binary package
10
11
PACKAGE = libxfixes3
11
12
 
 
13
include debian/xsfbs/xsfbs.mk
 
14
 
12
15
CFLAGS = -Wall -g
13
16
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
14
17
        CFLAGS += -O0
29
32
endif
30
33
 
31
34
 
32
 
build: build-stamp
 
35
build: patch build-stamp
33
36
build-stamp:
34
37
        dh_testdir
35
38
 
36
 
        mkdir obj-$(DEB_BUILD_GNU_TYPE)
 
39
        test -d obj-$(DEB_BUILD_GNU_TYPE) || mkdir obj-$(DEB_BUILD_GNU_TYPE)
37
40
        cd obj-$(DEB_BUILD_GNU_TYPE) && \
38
41
        ../configure --prefix=/usr --mandir=\$${prefix}/share/man \
39
42
                     --infodir=\$${prefix}/share/info $(confflags) \
42
45
 
43
46
        touch build-stamp
44
47
 
45
 
clean:
 
48
clean: xsfclean
46
49
        dh_testdir
47
50
        dh_testroot
48
51
        rm -f build-stamp
69
72
        dh_testroot
70
73
 
71
74
        dh_installdocs
72
 
        dh_install --sourcedir=debian/tmp
 
75
        dh_install --sourcedir=debian/tmp --list-missing --exclude=libXfixes.la --exclude=usr/share/man/man3
 
76
        dh_installman
73
77
        dh_installchangelogs
74
78
        dh_link
75
 
        dh_strip --dbg-package=$(PACKAGE)
 
79
        dh_strip --dbg-package=$(PACKAGE)-dbg
76
80
        dh_compress
77
81
        dh_fixperms
 
82
        dh_makeshlibs
 
83
        dh_shlibdeps
78
84
        dh_installdeb
79
 
        dh_shlibdeps
80
 
        dh_makeshlibs
81
85
        dh_gencontrol
82
86
        dh_md5sums
83
87
        dh_builddeb