mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-28 05:40:23 -04:00
improved compile script (too look also to subdirs)
This commit is contained in:
parent
1da75307b0
commit
0478bb19e1
1 changed files with 11 additions and 2 deletions
13
compile
13
compile
|
|
@ -3,8 +3,17 @@
|
||||||
for i in * ; do
|
for i in * ; do
|
||||||
if test -d $i ; then
|
if test -d $i ; then
|
||||||
cd $i || exit 1
|
cd $i || exit 1
|
||||||
./configure $COMPILE_ARGS || exit 1
|
if test -x ./configure; then
|
||||||
make || exit 1
|
./configure $COMPILE_ARGS || exit 1
|
||||||
|
make || exit 1
|
||||||
|
else
|
||||||
|
for j in * ; do
|
||||||
|
cd $j || exit 1
|
||||||
|
./configure $COMPILE_ARGS || exit 1
|
||||||
|
make || exit 1
|
||||||
|
cd ..
|
||||||
|
done
|
||||||
|
fi
|
||||||
cd ..
|
cd ..
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue