aboutsummaryrefslogtreecommitdiff
path: root/extra/iw/build
blob: 58b5126a66f1ebf89395f4c12b39552b19db4dd0 (plain)
1
2
3
4
5
6
7
#!/bin/sh -e

# iw manpage is extremely small, 
# we don't need to compress it.
sed 's@\(iw\.8\)\.gz@\1@' Makefile > _
cat _ > Makefile; rm -f _
make DESTDIR="$1" LDFLAGS="$LDFLAGS -static" PREFIX="/usr" SBINDIR="/usr/bin" install