2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-23 07:40:11 -07:00
repo/extra/efivar/build
2020-02-12 08:58:54 +02:00

19 lines
297 B
Bash
Executable File

#!/bin/sh -e
for patch in *.patch; do
patch -p1 < "$patch"
done
# Avoid repeating ourselves.
mk() {
make \
libdir=/usr/lib/ \
bindir=/usr/bin/ \
mandir=/usr/share/man/ \
includedir=/usr/include/ \
"$@"
}
mk CC="${CC:-cc}"
mk DESTDIR="$1" install