File: rules

package info (click to toggle)
nilfs-tools 2.1.3-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,552 kB
  • sloc: ansic: 13,174; sh: 9,198; makefile: 146
file content (21 lines) | stat: -rwxr-xr-x 468 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie

%:
	dh ${@} --with autotools_dev

override_dh_auto_configure:
	LDCONFIG="/sbin/ldconfig -n" dh_auto_configure -- --enable-libmount=yes

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/nilfs-tools

	# removing unused files
	rm -f debian/nilfs-tools/usr/lib/*/*.la

override_dh_builddeb:
	dh_builddeb -- -Zxz -z9

override_dh_strip:
	dh_strip --dbg-package=nilfs-tools-dbg