File: rules

package info (click to toggle)
flashprog 1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,160 kB
  • sloc: ansic: 62,108; makefile: 941; sh: 338
file content (20 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

ifeq ($(DEB_HOST_ARCH_OS), linux)
	INSTALL_UDEV_RULES=true
else
	INSTALL_UDEV_RULES=false
endif


%:
	dh $@ --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- \
		-Dinstall_udev_rules=$(INSTALL_UDEV_RULES) \
		-Dprogrammer=all