1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 13:17:45 +00:00

Build: Switch to CMake :^)

Closes https://github.com/SerenityOS/serenity/issues/2080
This commit is contained in:
Sergey Bugaev 2020-05-06 18:40:06 +03:00 committed by Andreas Kling
parent 49727ffee4
commit 450a2a0f9c
236 changed files with 1774 additions and 2337 deletions

View file

@ -154,7 +154,7 @@ func_defined build || build() {
run make $makeopts
}
func_defined install || install() {
run make DESTDIR="$SERENITY_ROOT"/Root $installopts install
run make DESTDIR="$SERENITY_ROOT"/Build/Root $installopts install
}
func_defined post_install || post_install() {
echo
@ -216,10 +216,10 @@ uninstall() {
for f in `cat plist`; do
case $f in
*/)
run rmdir "$SERENITY_ROOT/Root/$f" || true
run rmdir "$SERENITY_ROOT/Build/Root/$f" || true
;;
*)
run rm -rf "$SERENITY_ROOT/Root/$f"
run rm -rf "$SERENITY_ROOT/Build/Root/$f"
;;
esac
done