File: rules

package info (click to toggle)
wireless-tools 30~pre9-13
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,628 kB
  • sloc: ansic: 13,804; sh: 209; makefile: 154
file content (21 lines) | stat: -rwxr-xr-x 483 bytes parent folder | download | duplicates (3)
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 $@

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