Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'main/build/MacOSX/Makefile.am')
-rw-r--r--main/build/MacOSX/Makefile.am10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/build/MacOSX/Makefile.am b/main/build/MacOSX/Makefile.am
index 13034aa6cf..7402b65b7e 100644
--- a/main/build/MacOSX/Makefile.am
+++ b/main/build/MacOSX/Makefile.am
@@ -18,11 +18,14 @@ render.exe: render.cs
dmg: render.exe app
./make-dmg-bundle.sh
+monostub: monostub.c
+ gcc -Wall -m32 monostub.c -o monostub -framework CoreFoundation
+
clean-local:
rm -rf MonoDevelop.app
rm -f MonoDevelop*.dmg
-app:
+app: monostub
@echo ""
@echo "Creating directories in app bundle"
@echo ""
@@ -122,6 +125,11 @@ app:
cp -r MDMonitor.app $(MACOS)
+# Mono stubs to make the process name and bundle location correct
+ mkdir -p "$(MACOS)/bin"
+ cp -f monostub "$(MACOS)/bin/monodevelop"
+ cp -f monostub "$(MACOS)/bin/mdtool"
+
# update revision in updateinfo
@echo ""
@echo "Updating build information"