We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8611632 commit 59efcdeCopy full SHA for 59efcde
dev/build/functions.sh
@@ -26,6 +26,7 @@ assert()
26
}
27
28
LOG()
29
+# Usage: LOG $LVL MESSAGE...
30
{
31
if (( ${#} == 0 ))
32
then
@@ -125,6 +126,11 @@ check_make()
125
126
MAKE_QUIET="--quiet"
127
fi
128
129
+ if (( VERBOSITY <= $LOG_DEBUG ))
130
+ then
131
+ echo "using make: " $( which make )
132
+ fi
133
+
134
MAKE_V=""
135
if (( VERBOSITY == $LOG_TRACE ))
136
@@ -136,9 +142,12 @@ make_clean()
142
137
143
if (( RUN_MAKE_CLEAN ))
138
144
139
- if [ -f Makefile ]
145
+ if [[ -f Makefile ]]
140
146
147
+ LOG $LOG_DEBUG "make_clean() ..."
141
148
make clean
149
+ else
150
+ LOG $LOG_DEBUG "make_clean(): No Makefile."
151
152
153
0 commit comments