File: rules

package info (click to toggle)
dfu-util 0.9-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 656 kB
  • sloc: ansic: 2,826; sh: 1,313; python: 109; makefile: 39
file content (19 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

# export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_CFLAGS_MAINT_APPEND = -Wall -Wextra -pedantic

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

override_dh_installudev:
	@# Copy udev rules file into debian/ so that dh_installudev finds it.
	cp doc/40-dfuse.rules debian/dfu-util.udev
	dh_installudev
	rm -f debian/dfu-util.udev

%:
	dh $@ --with autotools_dev