File: rules

package info (click to toggle)
libhdhomerun 20220303-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 576 kB
  • sloc: ansic: 5,790; makefile: 226
file content (16 lines) | stat: -rwxr-xr-x 469 bytes parent folder | download | duplicates (2)
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=+bindnow

%:
	dh $@

override_dh_auto_build:
	dh_auto_build -- STRIP=/bin/true
	cat $(CURDIR)/README.md | iconv -f latin1 -t utf8 > $(CURDIR)/README.md

override_dh_install:
	dh_install
	chmod -x $(CURDIR)/debian/libhdhomerun-dev/usr/include/libhdhomerun/*.h

get-orig-changelog:
	w3m -dump https://www.silicondust.com/support/hdhomerun/downloads/software-changelog/ | tail -n +35 | head -n -22 > ChangeLog