diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2019-01-12 21:29:17 +0100 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2019-01-13 15:42:30 +0100 |
commit | 77f7f4851ebb1afba4c93029460bbf09a0b580ee (patch) | |
tree | faa7564ac58b12c72f05b54afc595499ec00710b | |
parent | 0fe5ef2366f74e7135efe545c1b7f4f2215d1cdc (diff) | |
download | uriparser-77f7f4851ebb1afba4c93029460bbf09a0b580ee.tar.gz |
cmake: Promote CMake rather than (working) "./configure" and "make check"
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rwxr-xr-x | make-distcheck.sh | 4 | ||||
-rwxr-xr-x | scripts/release.sh | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index e0b796c..ebac254 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -322,7 +322,7 @@ message(" Documentation ........ ${URIPARSER_BUILD_DOCS}") message("") message("Continue with") message(" make") -message(" make check") +message(" make test") message(" sudo make install") message("") message("===========================================================================") diff --git a/make-distcheck.sh b/make-distcheck.sh index 52ad1c8..3d31875 100755 --- a/make-distcheck.sh +++ b/make-distcheck.sh @@ -70,9 +70,9 @@ check_tarball() ( mkdir build cd build - ../configure "${@:2}" + cmake "${@:2}" .. make - make check + make test make DESTDIR="${PWD}"/ROOT/ install ) rm -Rf "${tarname}" diff --git a/scripts/release.sh b/scripts/release.sh index 83bca46..ffca2fd 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -10,7 +10,7 @@ rm -vRf uriparser-* 2> /dev/null echo echo ========== configure ========== -./configure || exit 1 +cmake . || exit 1 echo echo ========== make distcheck ========== |