File: rules

package info (click to toggle)
bchunk 1.2.2-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster
  • size: 172 kB
  • sloc: ansic: 376; makefile: 104
file content (17 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh ${@}

override_dh_auto_build:
	dh_auto_build -- 'LD=$$(CC)'

override_dh_auto_install:
	dh_auto_install -- \
		INSTALL='install --strip-program=/bin/true' \
		BIN_DIR=$(CURDIR)/debian/bchunk/usr/bin \
		MAN_DIR=$(CURDIR)/debian/bchunk/usr/share/man