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:
authorMichael Hutchinson <m.j.hutchinson@gmail.com>2011-06-22 01:05:14 +0400
committerMichael Hutchinson <m.j.hutchinson@gmail.com>2011-06-22 01:05:14 +0400
commit1612c1ee66a1746977df92f69a10c4037c325232 (patch)
tree8c355054ce5de1ff4103f7aced973c632c7d9b86 /main/build
parentcbcc4b3db912ce84a49bdbe51fa7a308039ad008 (diff)
Add a way to include external addins
Addins in the top-level "bundle-addins" directory will be included in "make run" and copied into the Mac app bundle. Symlinks to addin directories are acceptable.
Diffstat (limited to 'main/build')
-rw-r--r--main/build/MacOSX/Makefile.am12
1 files changed, 11 insertions, 1 deletions
diff --git a/main/build/MacOSX/Makefile.am b/main/build/MacOSX/Makefile.am
index 7ea2e3ba54..23820c9f6a 100644
--- a/main/build/MacOSX/Makefile.am
+++ b/main/build/MacOSX/Makefile.am
@@ -94,6 +94,7 @@ MonoDevelop.app:
$(MACOS)/lib/monodevelop/bin/addin-db* \
$(MACOS)/lib/monodevelop/bin/local \
$(MACOS)/lib/monodevelop/bin/repository-cache* \
+ $(MACOS)/lib/monodevelop/bin/addins-setup.config \
$(MACOS)/lib/monodevelop/AddIns/MonoDevelop.TextTemplating/Mono.TextTemplating.Tests*
# add extras known to work on Mac, if they exist
@@ -101,7 +102,7 @@ MonoDevelop.app:
@echo "Copying supported extras into app bundle"
@echo ""
- for ADDIN in MonoDevelop.Database; do \
+ @for ADDIN in MonoDevelop.Database; do \
(ls $(EXTRAS)/$${ADDIN}/build/* > /dev/null 2>&1 && \
echo "Copying $${ADDIN}" && \
mkdir -p $(MAC_APP_LIB_DIR)/AddIns/$${ADDIN} && \
@@ -109,6 +110,15 @@ MonoDevelop.app:
|| (echo "Skipping $${ADDIN}" && echo "$${ADDIN}" >> missing-stuff) ; \
done
+ @if test -d "$(BUNDLE_ADDINS)"; then \
+ echo; \
+ echo "Bundled addins"; \
+ echo; \
+ ls "$(BUNDLE_ADDINS)"; \
+ echo; \
+ cp -RH $(BUNDLE_ADDINS)/* $(MAC_APP_LIB_DIR)/AddIns/; \
+ fi
+
# add the binary artifacts if they exist
@echo ""
@echo "Copying binary artifacts into app bundle"