Page MenuHomeDevCentral

No OneTemporary

diff --git a/build.sh b/build.sh
index c875c4a..9afd8dc 100755
--- a/build.sh
+++ b/build.sh
@@ -1,5 +1,8 @@
#! /bin/sh
+make='gmake'
+if [ -z "$(which gmake 1>/dev/null 2>&1)" ]; then make='make'; fi
+
test ! -r build/configure && sh bootstrap.sh
-cd build && sh configure -C --prefix=$HOME/darkbot "$@" && make && make install && cd ..
+cd build && sh configure -C --prefix=$HOME/darkbot "$@" && $make && $make install && cd ..
diff --git a/build_small.sh b/build_small.sh
index c55ccfa..9503064 100755
--- a/build_small.sh
+++ b/build_small.sh
@@ -1,7 +1,10 @@
#! /bin/sh
+make='gmake'
+if [ -z "$(which gmake 1>/dev/null 2>&1)" ]; then make='make'; fi
+
test ! -r build/configure && sh bootstrap.sh
cd build && sh configure -C --prefix=$HOME/darkbot \
--disable-CTCP --disable-channel --disable-math --disable-google --disable-weather --disable-METAR --disable-TAF --disable-randq --disable-stoned --disable-verbose --disable-random "$@" && \
-make && make install && cd ..
+$make && $make install && cd ..
diff --git a/rebuild_all.sh b/rebuild_all.sh
index a9a81f8..55b8137 100755
--- a/rebuild_all.sh
+++ b/rebuild_all.sh
@@ -1,5 +1,8 @@
#! /bin/sh
+make='gmake'
+if [ -z "$(which gmake 1>/dev/null 2>&1)" ]; then make='make'; fi
+
sh autogen.sh
-cd build && make && make install && cd ..
+cd build && $make && $make install && cd ..
diff --git a/testing.sh b/testing.sh
index 9bb1683..12194da 100755
--- a/testing.sh
+++ b/testing.sh
@@ -1,5 +1,8 @@
#! /bin/sh
+make='gmake'
+if [ -z "$(which gmake 1>/dev/null 2>&1)" ]; then make='make'; fi
+
test ! -r build/configure && sh bootstrap.sh
-cd build && sh configure -C --prefix=$HOME/darkbot --enable-testing "$@" && make && make install && cd ..
+cd build && sh configure -C --prefix=$HOME/darkbot --enable-testing "$@" && $make && $make install && cd ..

File Metadata

Mime Type
text/x-diff
Expires
Wed, Apr 2, 18:12 (12 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2535294
Default Alt Text
(1 KB)

Event Timeline