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
1 changed files with 5 additions and 5 deletions

View File

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