executable bit, fix text encoding
This commit is contained in:
parent
404717f305
commit
64b1ab5b3d
80
releng/releng_build_os
Normal file → Executable file
80
releng/releng_build_os
Normal file → Executable file
@ -1,40 +1,40 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
if [ ! -x configure ]; then
|
if [ ! -x configure ]; then
|
||||||
printf "\n*** please run ./bootstrap first.\n"
|
printf "\n*** please run ./bootstrap first.\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
build()
|
build()
|
||||||
{
|
{
|
||||||
for F in ${1}
|
for F in ${1}
|
||||||
do
|
do
|
||||||
make clean
|
make clean
|
||||||
clear
|
clear
|
||||||
printf "\n *** building with: %s\n" CPPFLAGS=-D${F}
|
printf "\n *** building with: %s\n" CPPFLAGS=-D${F}
|
||||||
sleep 1
|
sleep 1
|
||||||
# libcdio is not autodetected by default; should be available everywhere
|
# libcdio is not autodetected by default; should be available everywhere
|
||||||
CPPFLAGS=-D${F} ./configure --enable-libcdio; make
|
CPPFLAGS=-D${F} ./configure --enable-libcdio; make
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
OS=`uname -o`
|
OS=`uname -o`
|
||||||
|
|
||||||
case ${OS} in
|
case ${OS} in
|
||||||
GNU/Linux)
|
GNU/Linux)
|
||||||
printf "OS: %s\n" ${OS}
|
printf "OS: %s\n" ${OS}
|
||||||
sleep 1
|
sleep 1
|
||||||
build "__linux Libburn_use_sg_dummY Libburn_use_libcdiO"
|
build "__linux Libburn_use_sg_dummY Libburn_use_libcdiO"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
printf "Unknown OS: %s\n" ${OS}
|
printf "Unknown OS: %s\n" ${OS}
|
||||||
exit 1
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# just in case
|
# just in case
|
||||||
unset CPPFLAGS
|
unset CPPFLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user