opendoas

A portable version of the OpenBSD `doas` command
git clone https://pi.duncano.de/git/opendoas.git
Log | Files | Refs | README | LICENSE

commit ac645996c2edf79c39619f6a1b651f081108856a
parent e38b848a0e46ec926627ac3d2c43eedcfd5e3d80
Author: Nathan Holstein <nathan.holstein@gmail.com>
Date:   Wed,  5 Aug 2015 03:11:15 -0400

Add a make rule to create ${BINDIR}.

Diffstat:
Makefile | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -37,7 +37,10 @@ ${PROG}: ${OBJS} libopenbsd.a chmod ${BINMODE} $@ chown ${BINOWN}:${BINGRP} $@ -${BINDIR}/${PROG}: .${PROG}.chmod +${BINDIR}: + mkdir -pm 0755 $@ + +${BINDIR}/${PROG}: .${PROG}.chmod ${BINDIR} mv $< $@ install: ${BINDIR}/${PROG}