mirror of https://github.com/bsnes-emu/bsnes.git
build: Remove root check for make install.
This commit is contained in:
parent
2dc384adcb
commit
b7d6926556
|
@ -40,8 +40,6 @@ verbose: hiro.verbose ruby.verbose nall.verbose all;
|
|||
|
||||
install: all
|
||||
ifeq ($(platform),windows)
|
||||
else ifeq ($(shell id -un),root)
|
||||
$(error "make install should not be run as root")
|
||||
else ifeq ($(platform),macos)
|
||||
mkdir -p ~/Library/Application\ Support/$(name)/
|
||||
mkdir -p ~/Library/Application\ Support/$(name)/Database/
|
||||
|
@ -67,8 +65,6 @@ endif
|
|||
|
||||
uninstall:
|
||||
ifeq ($(platform),windows)
|
||||
else ifeq ($(shell id -un),root)
|
||||
$(error "make uninstall should not be run as root")
|
||||
else ifeq ($(platform),macos)
|
||||
rm -rf /Applications/$(name).app
|
||||
else ifneq ($(filter $(platform),linux bsd),)
|
||||
|
|
Loading…
Reference in New Issue