repo/extra/efivar/build

19 lines
297 B
Plaintext
Raw Normal View History

#!/bin/sh -e
2019-10-08 08:18:28 +00:00
2020-02-12 06:58:54 +00:00
for patch in *.patch; do
patch -p1 < "$patch"
done
2019-10-08 08:18:28 +00:00
# Avoid repeating ourselves.
mk() {
make \
libdir=/usr/lib/ \
bindir=/usr/bin/ \
mandir=/usr/share/man/ \
includedir=/usr/include/ \
"$@"
}
2020-02-12 06:58:54 +00:00
mk CC="${CC:-cc}"
2019-10-08 08:18:28 +00:00
mk DESTDIR="$1" install