Have the person running make install run sudo/doas

This is more conventional I think.
This commit is contained in:
Mike Small 2020-11-26 12:05:23 -05:00
parent 6c09f88dec
commit 04b8b041da

View File

@ -11,13 +11,13 @@ check:
fi
install: frfac
sudo install -o root -g wheel -m 0755 -d /usr/local/bin
sudo install -o root -g wheel -m 0555 frfac /usr/local/bin
sudo install -o root -g wheel -m 0555 getviaphone /usr/local/bin
install -o root -g wheel -m 0755 -d /usr/local/bin
install -o root -g wheel -m 0555 frfac /usr/local/bin
install -o root -g wheel -m 0555 getviaphone /usr/local/bin
clean:
rm -f frfac
uninstall:
sudo rm -f /usr/local/bin/frfac
sudo rm -f /usr/local/bin/getviaphone
rm -f /usr/local/bin/frfac
rm -f /usr/local/bin/getviaphone