File: rules

package info (click to toggle)
wireless-tools 30~pre9-12
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,632 kB
  • ctags: 4,575
  • sloc: ansic: 13,804; sh: 209; makefile: 154
file content (21 lines) | stat: -rwxr-xr-x 509 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

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

override_dh_auto_build:
	dh_auto_build -- all libiw.a

override_dh_auto_install:
	dh_auto_install -- install install-static PREFIX=debian/tmp
	# Hack to make udeb friendly binaries
	$(MAKE) clean
	dh_auto_build -- BUILD_NOLIBM=y CFLAGS="-Os -I."
	dh_install -pwireless-tools-udeb iwconfig iwgetid sbin/
	dh_install -plibiw30-udeb libiw.so.30 lib/

override_dh_install:
	dh_install --list-missing

override_dh_installudev:
	dh_installudev --priority=19