Permalink
Browse files

Fix #5113 - Improve building portability

  • Loading branch information...
smortex authored and mhutch committed May 16, 2012
1 parent 2c9651d commit dcf1c03bd3db266bd38e13d19d266133a0a33f83
View
@@ -20,8 +20,8 @@ CONFIG_MAKE=$(top_srcdir)/config.make
case $$2 in *=*) dk="exit 1" ;; *k*) dk=: ;; *) dk="exit 1" ;; esac; \
for dir in $(SUBDIRS); do \
case $$dir in \
- .) make $*-local || { final_exit="exit 1"; $$dk; };;\
- *) (cd $$dir && make $*) || { final_exit="exit 1"; $$dk; };;\
+ .) $(MAKE) $*-local || { final_exit="exit 1"; $$dk; };;\
+ *) (cd $$dir && $(MAKE) $*) || { final_exit="exit 1"; $$dk; };;\
esac \
done
$$final_exit
@@ -76,19 +76,19 @@ dist: update_submodules remove-stale-tarballs dist-recursive
@cd tarballs && rm -rf monodevelop-$(PACKAGE_VERSION)
run:
- cd main && make run
+ cd main && $(MAKE) run
run-gdb:
- cd main && make run-gdb
+ cd main && $(MAKE) run-gdb
test:
- cd main/tests/UnitTests && make test fixture=$(fixture)
+ cd main/tests/UnitTests && $(MAKE) test fixture=$(fixture)
check-addins:
- cd main && make check-addins
+ cd main && $(MAKE) check-addins
app-dir:
- cd main && make app-dir
+ cd main && $(MAKE) app-dir
reset-versions: reset-all
check-versions: check-all
View
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=2.1.0
profile=default
tests=no
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=3.1.0
PACKAGE=aspnetedit
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=3.1.0
PACKAGE=geckowebbrowser
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=3.1.0
PACKAGE=monodevelop-java
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=3.1.0
PACKAGE=monodevelop_addinauthoring
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=3.1.0
PACKAGE=monodevelop-debugger-gdb
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=3.1.0
PACKAGE=monodevelop-debugger-mdb
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
prefix=/usr/local
common_packages=" mono-addins;0.3 monodevelop;3.1.0 monodevelop-core-addins;2.7"
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
prefix=/usr/local
common_packages=" mono-addins;0.3 monodevelop;3.1.0 monodevelop-core-addins;2.7"
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=3.1.0
PACKAGE=monodevelop-python
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=3.1.0
PACKAGE=webkitwebbrowser
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# Shamelessly lifted from Banshee's build process
@@ -1,2 +1,2 @@
-#!/bin/bash
+#!/usr/bin/env bash
sed -e :a -e '/\\$/N; s/\\\n//; ta' -e "/^$2/!d" -e "s/$2 = //" $1
View
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#this script should be in $PREFIX/bin
MONO_EXEC="exec -a mdtool mono"
View
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#Workaround for Unity gnome shell
export UBUNTU_MENUPROXY=0
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=%%VERSION%%
PACKAGE=%%PACKAGE%%
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
VERSION=0.1
PACKAGE=consoleproject
prefix=/usr/local
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
# icon-theme-installer
# Copyright (C) 2006 Novell, Inc.
View
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
version=1.9
prefix=/usr/local
profile=dist
View
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
version=
prefix=/usr/local
profile=stable
View
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
usage ()
{

0 comments on commit dcf1c03

Please sign in to comment.