File: rules

package info (click to toggle)
libftdi 0.20-4
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, stretch, trixie
  • size: 2,076 kB
  • ctags: 598
  • sloc: sh: 11,006; ansic: 2,417; cpp: 594; makefile: 116
file content (18 lines) | stat: -rwxr-xr-x 407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

%:
	dh $@ --parallel --with autoreconf

ifeq ($(DEB_BUILD_ARCH_OS),linux)
  asyncmode = --with-async-mode
else
  asyncmode =
endif

override_dh_auto_configure:
## Only enable async mode on Linux targets
	dh_auto_configure -- --disable-libftdipp --disable-python-binding $(asyncmode)

override_dh_strip-arch:
	dh_strip -plibftdi1 --dbg-package=libftdi1-dbg
	dh_strip --remaining-packages