diff options
Diffstat (limited to 'extra/opendoas/build')
-rwxr-xr-x | extra/opendoas/build | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/extra/opendoas/build b/extra/opendoas/build index cb2c20fe..25819524 100755 --- a/extra/opendoas/build +++ b/extra/opendoas/build @@ -1,15 +1,16 @@ #!/bin/sh -e -# shellcheck disable=SC2016 -sed '/chown ${BINOWN}:${BINGRP}/d' bsd.prog.mk > _ -cat _ > bsd.prog.mk; rm -f _ - ./configure \ --enable-static \ --with-timestamp \ --without-pam make -make DESTDIR="$1" install -install -Dm640 doas.conf "$1/etc/doas.conf" +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 |