File: rules

package info (click to toggle)
libxfce4ui 4.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 3,040 kB
  • sloc: sh: 11,143; ansic: 4,759; makefile: 322; perl: 92; xml: 68
file content (22 lines) | stat: -rwxr-xr-x 564 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
#!/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

%:
	dh $@

override_dh_install:
	rm $(CURDIR)/debian/tmp/usr/lib/*.la
	rm $(CURDIR)/debian/tmp/usr/lib/glade3/modules/*.la
	rm $(CURDIR)/debian/tmp/usr/share/glade3/catalogs/libxfce4ui.xml.in
	dh_install --fail-missing

override_dh_strip:
	dh_strip --dbg-package=libxfce4ui-1-dbg