~ubuntu-branches/ubuntu/intrepid/gimp/intrepid-updates

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Pedro Fragoso
  • Date: 2007-12-18 10:44:11 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20071218104411-p2c1aor6tfqcwkyw
Tags: 2.4.3-1ubuntu1
* Merge from Debian unstable. (LP: #177821)
* Ubuntu remaining changes:
  - 02_help-message.patch, 03_gimp.desktop.in.in.patch: Distro changes.
  - Weave i18n magic in the rules file.
  - Remove the doc directory symlink in the preinst, and replace it with a
    directory.
  - Added NEWS, README and README.Debian to gimp.docs.
  - Modify Maintainer value to match Debian-Maintainer-Field Spec

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
nextmicro=$(shell expr ${micro} + 1)
22
22
 
23
23
LDFLAGS = -Wl,--as-needed
24
 
DEB_CONFIGURE_EXTRA_FLAGS := \
25
 
        --enable-python --enable-default-binary
 
24
DEB_CONFIGURE_EXTRA_FLAGS := --enable-python --enable-default-binary
26
25
DEB_BUILDDIR := $(DEB_SRCDIR)/build
27
26
 
28
 
DEB_DH_SHLIBDEPS_ARGS_ALL := \
29
 
        -Llibgimp2.0 -l$(CURDIR)/debian/libgimp2.0/usr/lib
 
27
DEB_DH_SHLIBDEPS_ARGS_ALL := -Llibgimp2.0 -l$(CURDIR)/debian/libgimp2.0/usr/lib
30
28
DEB_DH_SHLIBDEPS_ARGS_gimp := -Xlibcontroller_midi.so
31
29
 
32
30
# For the stable branch:
33
 
DEB_DH_MAKESHLIBS_ARGS_libgimp2.0 := -V "libgimp2.0 (>= 2.4.0-1)"
 
31
libgimp2.0_shlibs := libgimp2.0 (>= $(major).0)
34
32
# For the development branch:
35
 
#DEB_DH_MAKESHLIBS_ARGS_libgimp2.0 := \
36
 
#       -V "libgimp2.0 (>= ${version}), libgimp2.0 (<< ${major}.${nextmicro})"
 
33
#libgimp2.0_shlibs := \
 
34
#       libgimp2.0 (>= ${version}), libgimp2.0 (<< ${major}.${nextmicro})
 
35
 
 
36
DEB_DH_MAKESHLIBS_ARGS_libgimp2.0 := -V "$(libgimp2.0_shlibs)"
37
37
 
38
38
clean::
39
39
        rm -rf build
40
40
 
 
41
binary-predeb/gimp::
 
42
        sed -i -e 's/$(libgimp2.0_shlibs), //' \
 
43
                debian/gimp.substvars
 
44
 
41
45
common-install-impl::
42
46
        # Add translation domain to .desktop and .server files
43
47
        DOMAIN=$$(grep --max-count 1 '^GETTEXT_PACKAGE[[:space:]]*=' $(DEB_BUILDDIR)/po/Makefile | sed 's/^.*=[[:space:]]\([^[:space:]]\)/\1/'); \