File: rules

package info (click to toggle)
libmatchbox 1.9-osso8-3.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,248 kB
  • ctags: 805
  • sloc: ansic: 8,002; sh: 5,792; makefile: 93
file content (26 lines) | stat: -rwxr-xr-x 616 bytes parent folder | download | duplicates (3)
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
#!/usr/bin/make -f

DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@ --with autoreconf

override_dh_autoreconf:
	rm -f config.guess config.sub
	dh_autoreconf --as-needed

override_dh_install:
	ls -R debian/tmp/
	dh_install --list-missing

override_dh_installdocs:
	dh_installdocs -XAUTHORS -XREADME

override_dh_clean:
	-rm -rf doc/man
	dh_clean

override_dh_auto_configure:
	./configure --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --enable-pango --enable-jpeg --enable-png --enable-doxygen-docs --enable-xsettings