repo/extra/pciutils/build
2019-08-25 15:46:27 +00:00

17 lines
292 B
Bash
Executable File

#!/bin/sh -e
# Avoid repeating environment variables.
mk() (
make \
PREFIX=/usr \
ZLIB=no \
OPT="$CFLAGS" \
SHAREDIR=/usr/share/hwdata \
MANDIR=/usr/share/man \
SBINDIR=/usr/bin \
"$@"
)
mk all
mk DESTDIR="$1" install install-lib