File: rules

package info (click to toggle)
libeatmydata 105-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,064 kB
  • sloc: sh: 12,301; ansic: 745; makefile: 113
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

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DH_VERBOSE=1
export V=1 # let `make` be verbose

include /usr/share/dpkg/architecture.mk

%:
	dh $@ --with bash-completion

override_dh_auto_test:
	dh_auto_test --no-parallel

override_dh_install:
	find $(CURDIR)/debian/tmp -name *.la -delete
	rm -v $(CURDIR)/debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/eatmydata.sh
	install -D $(CURDIR)/debian/eatmydata.sh \
		$(CURDIR)/debian/eatmydata/usr/bin/eatmydata
	dh_install

override_dh_missing:
	dh_missing --fail-missing