File: rules

package info (click to toggle)
gconf 3.2.6-5
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 14,988 kB
  • sloc: ansic: 39,702; sh: 11,189; python: 1,073; makefile: 445; xml: 332
file content (37 lines) | stat: -rwxr-xr-x 1,083 bytes parent folder | download
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
36
37
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/autoreconf.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk

MANPAGES := debian/gconf-schemas.8

build/gconf2:: $(MANPAGES)
clean::
	rm -f $(MANPAGES)

%.8: %.xml
	xsltproc --nonet -o debian/ \
		/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $<

DEB_INSTALL_DOCS_gconf2 += doc/FAQ.txt NEWS README TODO

DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc \
                             --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
                             --libexecdir=\$${libdir}/gconf \
                             --with-gtk=3.0 \
                             --disable-orbit

DEB_MAKE_INVOKE += pkglibdir=/usr/lib/$(DEB_HOST_MULTIARCH)/gconf

LDFLAGS += -Wl,-z,defs -Wl,--as-needed

DEB_DH_MAKESHLIBS_ARGS_gconf-service += -Xbackend
DEB_DH_MAKESHLIBS_ARGS_libgconf-2-4 += -V"libgconf-2-4 (>= 2.31.1), gconf-service"

DEB_COMPRESS_EXCLUDE += usr/share/doc/gconf2/html

binary-install/gconf2::
	dh_python2 -p$(cdbs_curpkg)