File: rules

package info (click to toggle)
rzip 2.1-4.1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, stretch
  • size: 448 kB
  • ctags: 321
  • sloc: ansic: 1,920; sh: 225; makefile: 44
file content (16 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)

%:
	dh $@ --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE)

override_dh_auto_install:
	dh_auto_install -- prefix=$(CURDIR)/debian/rzip/usr