File: rules

package info (click to toggle)
gnome-vfs 1%3A2.24.4-6.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 17,144 kB
  • ctags: 10,422
  • sloc: ansic: 78,500; sh: 10,341; makefile: 902; perl: 99
file content (35 lines) | stat: -rwxr-xr-x 1,235 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
include /usr/share/gnome-pkg-tools/1/rules/clean-la.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

DEB_DH_AUTORECONF_ARGS = --as-needed

ifeq ($(DEB_HOST_ARCH),hurd-i386)
  HOST_ARCH_CONFIGURE_FLAGS=--disable-ipv6
else
  HOST_ARCH_CONFIGURE_FLAGS=--enable-ipv6
endif

#debug lib
DEB_DH_STRIP_ARGS := --dbg-package=libgnomevfs2-0-dbg

DEB_CONFIGURE_EXTRA_FLAGS := --enable-gtk-doc \
                             --enable-gnutls \
                             --enable-avahi \
                             --disable-openssl \
                             --disable-hal \
                             --disable-fam \
                             --disable-samba \
                             --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
                             --libexecdir=\$${libdir}/gnome-vfs-2.0 \
                             $(HOST_ARCH_CONFIGURE_FLAGS)

DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed"

DEB_DH_MAKESHLIBS_ARGS_libgnomevfs2-extra := --no-act
DEB_COMPRESS_EXCLUDE := html