repo/extra/pciutils/build

17 lines
292 B
Plaintext
Raw Normal View History

2019-08-25 09:46:27 -06:00
#!/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