aboutsummaryrefslogtreecommitdiff
path: root/extra/opendoas/build
blob: 25819524ab2292ca7b74e592919438542687557e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh -e

./configure \
    --enable-static \
    --with-timestamp \
    --without-pam

make

install -Dm4755 doas      "$1/usr/bin/doas"
install -Dm640  doas.conf "$1/etc/doas.conf"

# Install manual pages.
for man in doas.1 doas.conf.5; do
    install -Dm644 "$man" "$1/usr/share/man/man${man##*.}/$man"
done