Have the person running make install run sudo/doas
This is more conventional I think.
This commit is contained in:
parent
6c09f88dec
commit
04b8b041da
10
Makefile
10
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user