File: rules

package info (click to toggle)
dfu-util 0.11-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 744 kB
  • sloc: ansic: 3,266; sh: 1,242; python: 235; makefile: 49
file content (18 lines) | stat: -rwxr-xr-x 398 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/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

%:
	dh $@

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