File: rules

package info (click to toggle)
rtl-wmbus 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,696 kB
  • sloc: ansic: 2,625; makefile: 71; sh: 48; python: 46
file content (16 lines) | stat: -rwxr-xr-x 460 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 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:
	$(MAKE) COMMIT_HASH= TAG=$(shell dpkg-parsechangelog -S Version) BRANCH= CHANGES=
	help2man --no-info --name='software defined receiver for Wireless M-Bus' \
		--output=debian/rtl_wmbus.1 ./build/rtl_wmbus

override_dh_clean:
	dh_clean debian/rtl_wmbus.1