File: rules

package info (click to toggle)
bchunk 1.2.2%2Bgit20220715%2Bds-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 252 kB
  • sloc: ansic: 924; makefile: 86
file content (17 lines) | stat: -rwxr-xr-x 425 bytes parent folder | download | duplicates (3)
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