File: rules

package info (click to toggle)
thunar-vcs-plugin 0.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,468 kB
  • sloc: ansic: 13,552; sh: 11,124; makefile: 311
file content (23 lines) | stat: -rwxr-xr-x 539 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
#!/usr/bin/make -f
include /usr/share/hardening-includes/hardening.make

CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
LDFLAGS+=$(HARDENING_LDFLAGS) -Wl,-z,defs -Wl,--as-needed -Wl,-O1
CFLAGS+=$(HARDENING_CFLAGS)

export CFLAGS LDFLAGS

override_dh_auto_configure:
	NOCONFIGURE=1 xdt-autogen
	dh_auto_configure

override_dh_makeshlibs:
	dh_makeshlibs -n -X /usr/lib/thunarx-2/

override_dh_install:
	rm -rf debian/thunar-vcs-plugin/usr/lib/thunarx-2/*.la
	dh_install --fail-missing

%:
	dh $@