Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
18 lines
819 B
Diff
18 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/
|