1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/sh -e cd wpa_supplicant mk() { make \ LIBDIR=/usr/lib \ BINDIR=/usr/bin \ LDFLAGS="$LDFLAGS -static" \ "$@" } mk mk DESTDIR="$1" install clman -d "$1" ./doc/docbook/*.[0-9] clsv -d "$1" wpa_supplicant.run