File: rules

package info (click to toggle)
libxfont1 1:1.5.2-4
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 3,140 kB
  • ctags: 1,863
  • sloc: ansic: 20,803; sh: 4,112; xml: 550; makefile: 220
file content (40 lines) | stat: -rwxr-xr-x 928 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
38
39
40
#!/usr/bin/make -f

CFLAGS   = $(shell dpkg-buildflags --get CFLAGS)
CFLAGS  += -Wall
CPPFLAGS = $(shell dpkg-buildflags --get CPPFLAGS)
LDFLAGS  = $(shell dpkg-buildflags --get LDFLAGS)

# Strip -Bsymbolic-functions (set by default on Ubuntu) to avoid breakages:
LDFLAGS := $(LDFLAGS:-Wl,-Bsymbolic-functions=)

CONFFLAGS += \
	--with-bzip2 \
	--with-xmlto \
	--disable-fc \
	--enable-builtins \
	--enable-pcfformat \
	--enable-bdfformat \
	--enable-devel-docs \
	--without-fop \
	--disable-silent-rules \
	CFLAGS="$(CFLAGS)" \
	CPPFLAGS="$(CPPFLAGS)" \
	LDFLAGS="$(LDFLAGS)"


override_dh_auto_configure:
	dh_auto_configure -- $(CONFFLAGS)

override_dh_install:
	find debian/tmp -name '*.la' -delete
	dh_install -a --fail-missing

override_dh_strip:
	dh_strip --dbgsym-migration='libxfont1-dbg (<< 1:1.5.2-3~)'

override_dh_makeshlibs:
	dh_makeshlibs -V'libxfont1 (>= 1:1.4.2)'

%:
	dh $@ --with quilt --builddirectory=build/