19 lines
819 B
Diff
19 lines
819 B
Diff
|
diff --git a/bsnes/target-bsnes/GNUmakefile b/bsnes/target-bsnes/GNUmakefile
|
||
|
index 7a3ab9f..ec8a1a4 100644
|
||
|
--- a/bsnes/target-bsnes/GNUmakefile
|
||
|
+++ b/bsnes/target-bsnes/GNUmakefile
|
||
|
@@ -43,11 +43,8 @@ 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/
|
||
|
- mkdir -p ~/Library/Application\ Support/$(name)/Firmware/
|
||
|
- mkdir -p ~/Library/Application\ Support/$(name)/Shaders/
|
||
|
- cp -R out/$(name).app /Applications/$(name).app
|
||
|
+ mkdir -p $(prefix)/Applications
|
||
|
+ cp -R out/$(name).app $(prefix)/Applications
|
||
|
else ifneq ($(filter $(platform),linux bsd),)
|
||
|
mkdir -p $(prefix)/bin/
|
||
|
mkdir -p $(prefix)/share/applications/
|