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:
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am10
-rwxr-xr-xmonodevelop.in8
3 files changed, 16 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index 66da20e58b..7a11a9aa41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-11-12 Michael Hutchinson <mhutchinson@novell.com>
+
+ * Makefile.am:
+ * monodevelop.in: Pass '-a "monodevelop"' to exec in order to set
+ monodevelop process name, so it shows up nicely in process lists.
+
2007-11-12 Aaron Bockover <abockover@novell.com>
* autogen.sh: Added -Wno-portability -Wno-syntax to make automake be
diff --git a/Makefile.am b/Makefile.am
index a028b81972..49fdc253b2 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,10 +81,12 @@ MD_LAUNCH_SETUP= \
LD_LIBRARY_PATH=`echo "$(LD_LIBRARY_PATH):$(MOZILLA_HOME)" | sed 's/^://g'` \
PKG_CONFIG_PATH=`echo "$(PKG_CONFIG_PATH):$(MD_PKG_CONFIG_PATH)" | sed 's/^://g'`
+MD_LAUNCH=$(MD_LAUNCH_SETUP) exec -a "monodevelop" $(RUNTIME)
+
run: runmd
runmd: $(PROGRAM)
- $(MD_LAUNCH_SETUP) $(RUNTIME) --debug MonoDevelop.exe
+ $(MD_LAUNCH) --debug MonoDevelop.exe
pad: $(MONOPAD)
@@ -92,13 +94,13 @@ runpad: $(MONOPAD)
cd build/bin && mono MonoPad.exe
run-profile: $(PROGRAM)
- $(MD_LAUNCH_SETUP) $(RUNTIME) -O=inline --profile MonoDevelop.exe
+ $(MD_LAUNCH) -O=inline --profile MonoDevelop.exe
run-profile-stat: $(PROGRAM)
- $(MD_LAUNCH_SETUP) $(RUNTIME) --profile=default:stat MonoDevelop.exe
+ $(MD_LAUNCH) --profile=default:stat MonoDevelop.exe
run-profile-heap: $(PROGRAM)
- $(MD_LAUNCH_SETUP) $(RUNTIME) -O=inline --profile=heap:heaplog MonoDevelop.exe
+ $(MD_LAUNCH) -O=inline --profile=heap:heaplog MonoDevelop.exe
profile-pad: $(MONOPAD)
cd build/bin && mono -O=inline --profile MonoPad.exe
diff --git a/monodevelop.in b/monodevelop.in
index 875bf3f2d7..0d7537373e 100755
--- a/monodevelop.in
+++ b/monodevelop.in
@@ -81,21 +81,21 @@ cd $MD_BIN_PATH
case x$1 in
x--profile)
shift
- exec @RUNTIME@ --profile ./MonoDevelop.exe $@
+ exec -a "monodevelop" @RUNTIME@ --profile ./MonoDevelop.exe $@
exit 0
;;
x--debug)
shift
export MONODEVELOP_DISPATCH_DEBUG=yes
- exec @RUNTIME@ --debug ./MonoDevelop.exe $@
+ exec -a "monodevelop" @RUNTIME@ --debug ./MonoDevelop.exe $@
exit 0
;;
x--trace)
shift
- exec @RUNTIME@ --trace ./MonoDevelop.exe $@
+ exec -a "monodevelop" @RUNTIME@ --trace ./MonoDevelop.exe $@
exit 0;
;;
esac
-exec @RUNTIME@ ./MonoDevelop.exe $@
+exec -a "monodevelop" @RUNTIME@ ./MonoDevelop.exe $@