aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-02-07 18:01:50 +0100
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:58 +0200
commitc0bc9fc3a99b2e5710e92597a723d3db1b9e638c (patch)
tree9781f04712b016eb6cf055700c1513101a74afcd
parent3527a09b8da4d8bdc09035b522fde0e9d8db8785 (diff)
Remove install script. Use cmake/install.sh instead
-rw-r--r--README.md2
-rwxr-xr-xinstall.sh32
2 files changed, 1 insertions, 33 deletions
diff --git a/README.md b/README.md
index b112b45..3a78c10 100644
--- a/README.md
+++ b/README.md
@@ -178,7 +178,7 @@ The best way to do this is to create another git project for the dependency and
Using sub projects allows you to modify dependency and propagate changes to dependant project without pushing changes to remote git repository (faster development).
## lang.*
Optional. Allows you to change language specific configuration. \[lang.c] is for C and \[lang.cpp] is for C++.
-Version specifies the language version, for \[lang.c] the version can be ansi, c89, c99 or c11 - if not set, c11 will be used.
+Version specifies the language version, for \[lang.c] the version can be ansi (alias for c89), c89, c99 or c11 - if not set, c11 will be used.
For \[lang.cpp] the version can be c++11, c++14 or c++17 - if not set, c++14 will be used
## define
Optional. A list of definitions which are specified in name-value pairs where the name is the preprocessor to define (in c: #define name value)
diff --git a/install.sh b/install.sh
deleted file mode 100755
index 05c6b8f..0000000
--- a/install.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/usr/bin/env bash
-
-set -e
-
-case "$(uname -s)" in
- Linux*)
- bin_dir="/usr/bin"
- ;;
- Darwin*)
- bin_dir="/usr/local/bin"
- export PKG_CONFIG_PATH="/usr/local/opt/libarchive/lib/pkgconfig/"
- ;;
- OpenBSD*)
- bin_dir="/usr/local/bin"
- ;;
- CYGWIN*)
- bin_dir="/usr/bin"
- sudo() {
- "$@"
- }
- ;;
- *)
- echo "The install file can only be run on linux, mac and openbsd" && exit 1
- ;;
-esac
-
-project_dir=`dirname $0`
-sibs build $project_dir --release
-platform=`sibs platform`
-sudo cp "$project_dir/sibs-build/$platform/release/sibs" "$bin_dir/sibs"
-echo "Copied $project_dir/sibs-build/$platform/release/sibs to $bin_dir/sibs"
-echo "Installation successful!"