added lib sub-flag
This commit is contained in:
parent
da03b85b9c
commit
4be38d930d
18
build.sh
18
build.sh
@ -46,17 +46,19 @@ if [[ "$1" == "test" ]]; then ########## TEST ##########
|
|||||||
echo "Output generated as '$output'"
|
echo "Output generated as '$output'"
|
||||||
###
|
###
|
||||||
elif [[ "$1" == "install" ]]; then ########## INSTALL ##########
|
elif [[ "$1" == "install" ]]; then ########## INSTALL ##########
|
||||||
###
|
if [[ "$2" != "lib" ]]; then
|
||||||
echo "Installing header files..."
|
###
|
||||||
###
|
echo "Installing header files..."
|
||||||
|
###
|
||||||
|
|
||||||
# Create why2 directory
|
# Create why2 directory
|
||||||
if [[ ! -d $includeDirectory ]]; then
|
if [[ ! -d $includeDirectory ]]; then
|
||||||
mkdir $includeDirectory
|
mkdir $includeDirectory
|
||||||
|
fi
|
||||||
|
|
||||||
|
cp $includeFiles $includeDirectory
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cp $includeFiles $includeDirectory
|
|
||||||
|
|
||||||
###
|
###
|
||||||
echo "Using '$compiler' as default compiler."
|
echo "Using '$compiler' as default compiler."
|
||||||
###
|
###
|
||||||
|
Loading…
x
Reference in New Issue
Block a user