File: rules

package info (click to toggle)
libwnck 2.30.7-5.1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,872 kB
  • ctags: 2,520
  • sloc: ansic: 19,731; sh: 10,240; makefile: 224
file content (29 lines) | stat: -rwxr-xr-x 876 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
#!/usr/bin/make -f

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

DEB_BUILD_PARALLEL = 1

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

DEB_CONFIGURE_EXTRA_FLAGS += \
	--libdir=/usr/lib/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \
	--includedir=/usr/include/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) \
	--with-html-dir=\$${prefix}/share/gtk-doc/html/

DEB_DH_INSTALL_ARGS += --fail-missing

common-install-indep:: remove-cruft
common-install-arch:: remove-cruft

remove-cruft::
	rm -fv debian/tmp/usr/lib/*/*.la
	rm -fv debian/tmp/usr/lib/*/*.a
	rm -fv debian/tmp/usr/bin/wnck-urgency-monitor
	rm -fv debian/tmp/usr/bin/wnckprop

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..