Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tnl-dev
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
24
Issues
24
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
TNL
tnl-dev
Commits
f52140d2
Commit
f52140d2
authored
Sep 02, 2018
by
Tomáš Oberhuber
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install script restoration.
parent
d920a278
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
5 deletions
+39
-5
install
install
+39
-5
No files found.
install
View file @
f52140d2
#!/bin/bash
INSTALL_PREFIX
=
${
HOME
}
/.local
BUILD_RELEASE
=
yes
BUILD_DEBUG
=
yes
#VERBOSE="VERBOSE=1"
BUILD_DEBUG
=
"yes"
BUILD_RELEASE
=
"yes"
OPTIONS
=
""
CMAKE_TEST
=
`
which cmake
`
if
test
x
${
CMAKE_TEST
}
=
"x"
;
then
echo
"Cmake is not installed on your system. Please install it by:"
echo
""
echo
" sudo apt-get install cmake on Ubuntu and Debian based systems"
echo
" sudo yum install cmake on RedHat, Fedora or CentOS"
echo
" sudo zypper install cmake on OpenSuse"
echo
""
echo
"You may also install it from the source code at:"
echo
" http://www.cmake.org/download/"
exit
1
fi
for
option
in
"
$@
"
do
...
...
@@ -28,7 +42,7 @@ then
cd
..
fi
if
[
!
-d
Release
]
;
if
test
${
BUILD_RELEASE
}
=
"yes"
;
then
if
[
!
-d
Release
]
;
then
...
...
@@ -42,6 +56,16 @@ then
cd
..
fi
PREFIX
=
${
HOME
}
/.local
for
option
in
"
$@
"
do
case
$option
in
--prefix
=
*
)
PREFIX
=
"
${
option
#*=
}
"
;;
esac
done
TNL_TEST
=
`
which tnl-bindir
`
if
test
x
${
TNL_TEST
}
=
x
;
...
...
@@ -70,4 +94,14 @@ then
echo
"export LD_LIBRARY_PATH"
fi
if
test
${
BUILD_RELEASE
}
=
"yes"
;
then
BUILD_PREFIX
=
"Release"
fi
if
test
${
BUILD_DEBUG
}
=
"yes"
;
then
BUILD_PREFIX
=
"Debug"
fi
exit
0
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment