diff options
author | Michael Hutchinson <mhutchinson@novell.com> | 2008-01-17 03:26:30 +0300 |
---|---|---|
committer | Michael Hutchinson <mhutchinson@novell.com> | 2008-01-17 03:26:30 +0300 |
commit | 2515d53aa02f5ae38ad19baae70328dc8f8d2dbf (patch) | |
tree | 13fe523e5557022137e152e240b1613738e5d5f3 /main/mdtool.in | |
parent | cddd24f9c618e93621805542ee171e8479f1ff48 (diff) |
* main/configure.in: Updated. Remove intltool calls, check for msgfmt.
* main/monodevelop.in: Tidied.
* main/Makefile.include: Refactor code that sets vars when lanching MD,
and apply to mdtool too.
* main/mdtool.in: Set process name on mdtool.
* main/Makefile.am: Refactor code that sets vars when lanching MD.
* main/autogen.sh: Remove intltoolizing.
* main/po/POTFILES.in, main/po/POTFILES.skip, main/po/po.mdp: No longer
needed.
* main/po/po.mdse: Updated.
* main/po/Makefile.am: New build for i18n files.
svn path=/trunk/monodevelop/; revision=93123
Diffstat (limited to 'main/mdtool.in')
-rw-r--r-- | main/mdtool.in | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/mdtool.in b/main/mdtool.in index e9659657d5..1c9686398c 100644 --- a/main/mdtool.in +++ b/main/mdtool.in @@ -18,10 +18,15 @@ reWrite() { MD_BIN_PATH=@prefix@/lib/monodevelop/bin +### SYNCH BLOCK: any changes to this block should be kept in sync with the one in Makefile.include and monodevelop.in +MD_PKG_CONFIG_PATH=@gtksharp_prefix@/lib/pkgconfig/:/usr/lib/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/share/pkgconfig/:/usr/local/share/pkgconfig/ +if test -d /usr/lib64; then MD_PKG_CONFIG_PATH=$MD_PKG_CONFIG_PATH:/usr/lib64/pkgconfig/:/usr/local/lib64/pkgconfig/; fi +### END BLOCK + if [ -n $PKG_CONFIG_PATH ]; then - export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:@gtksharp_prefix@/lib/pkgconfig/ + export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$MD_PKG_CONFIG_PATH else - export PKG_CONFIG_PATH=@gtksharp_prefix@/lib/pkgconfig/ + export PKG_CONFIG_PATH=$MD_PKG_CONFIG_PATH fi ARGS=`reWrite "$@"` @@ -30,18 +35,18 @@ set -- $ARGS case x$1 in x--profile) shift - exec @RUNTIME@ --profile $MD_BIN_PATH/mdrun.exe $@ + exec -a "mdtool" @RUNTIME@ --profile $MD_BIN_PATH/mdrun.exe $@ exit 0 ;; x--debug) shift export MONODEVELOP_DISPATCH_DEBUG=yes - exec @RUNTIME@ --debug $MD_BIN_PATH/mdrun.exe $@ + exec -a "mdtool" @RUNTIME@ --debug $MD_BIN_PATH/mdrun.exe $@ exit 0 ;; x--trace) shift - exec @RUNTIME@ --trace $MD_BIN_PATH/mdrun.exe $@ + exec -a "mdtool" @RUNTIME@ --trace $MD_BIN_PATH/mdrun.exe $@ exit 0; ;; esac |