File: rules

package info (click to toggle)
gconf 2.28.1-6
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 12,444 kB
  • ctags: 2,535
  • sloc: ansic: 34,221; sh: 10,382; makefile: 334; python: 210; xml: 141
file content (37 lines) | stat: -rwxr-xr-x 1,182 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/class/gnome.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-version.mk
include /usr/share/gnome-pkg-tools/1/rules/clean-la.mk
include /usr/share/gnome-pkg-tools/1/rules/patch-translations.mk
-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk

GNOME_MODULE := GConf

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 --libexecdir=/usr/lib/libgconf2-4
DEB_MAKE_INVOKE += pkglibdir=/usr/lib/libgconf2-4

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

DEB_DH_MAKESHLIBS_ARGS_libgconf2-4 += -Xbackend -V"libgconf2-4 (>= 2.27.0)"
DEB_DH_SHLIBDEPS_ARGS += -Xgconf-sanity-check

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

binary-predeb/gconf2::
	dh_pysupport -p$(cdbs_curpkg)