aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2022-02-21 23:20:04 +0100
committerMiquel Lionel <lionel@les-miquelots.net>2022-02-21 23:20:04 +0100
commit046eb955a1c3f8633793c4ac99310a9623168fdd (patch)
treeb8a30184091dae4e2ca62488ce7ca37180893c11 /build.sh
parent3af6b9251b3442b6918388474a5778f37ba6fb63 (diff)
downloadkdeltachat-046eb955a1c3f8633793c4ac99310a9623168fdd.tar.gz
kdeltachat-046eb955a1c3f8633793c4ac99310a9623168fdd.zip
Replace cp commands by cmake equivalents
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh11
1 files changed, 3 insertions, 8 deletions
diff --git a/build.sh b/build.sh
index ad735b2..fcf895c 100755
--- a/build.sh
+++ b/build.sh
@@ -1,9 +1,4 @@
#!/bin/sh
-
-# for the qml.qrc
-cp -r usr/share/knotifications5 .
-
-cmake -B build .
-cmake --build build
-cp -v -r usr/ /
-sudo install -vDm755 build/kdeltachat -t /usr/local/bin/
+cmake -DCMAKE_INSTALL_PREFIX=/usr -B build
+make -C build
+make -C build PREFIX=/usr install