projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ced2de2
)
updates
author
Pekka Riikonen
<priikone@silcnet.org>
Sat, 3 Nov 2001 21:45:03 +0000
(21:45 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Sat, 3 Nov 2001 21:45:03 +0000
(21:45 +0000)
prepare-clean
patch
|
blob
|
history
diff --git
a/prepare-clean
b/prepare-clean
index 2e4760a3c993fb48a0d9172b870818c01b7e1fee..ee9567c6b42736048f77017efbdfcd74f5050757 100755
(executable)
--- a/
prepare-clean
+++ b/
prepare-clean
@@
-23,10
+23,22
@@
# and compilation by calling ./prepare.
#
# and compilation by calling ./prepare.
#
+if [ -z "$MAKE" ]; then
+ MAKE=`which gmake`
+ if [ -z "$MAKE" ]; then
+ MAKE=`which make`
+ if [ -z "$MAKE" ]; then
+ echo "Error, no [g]make in your path."
+ exit 0
+ fi
+ fi
+fi
+echo "Using $MAKE as a make program..."
+
echo "Cleaning entire SILC source tree..."
echo "All errors and warnings may be safely ignored."
echo "Cleaning entire SILC source tree..."
echo "All errors and warnings may be safely ignored."
-
gmake
clean -k
-
gmake
distclean -k
+
$MAKE
clean -k
+
$MAKE
distclean -k
rm -f ltmain.sh
rm -f ltconfig
rm -f ltcf*
rm -f ltmain.sh
rm -f ltconfig
rm -f ltcf*