From 98c95039f1c505d8e6fe892888036d5c48dc398d Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 10 Apr 2025 20:57:53 +0200 Subject: Simplify build and install steps --- README.md | 11 ++++++----- meson.build | 7 ++++++- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0c5bde3..3d81e83 100644 --- a/README.md +++ b/README.md @@ -24,19 +24,20 @@ mkdir ~/mcuboot The project is built with the Meson build system. ``` -meson setup build --prefix / -ninja -C build -meson install -C build --destdir artifacts +meson setup build +cd build +ninja +meson install --destdir artifacts ``` The resulting artifacts can be listed with `tree`. ``` -tree build/artifacts +tree artifacts ``` These artifacts are organized as static website. It can be opened with Firefox. ``` -find build/artifacts -name 'index.html' -exec firefox {} \; +firefox artifacts/index.html ``` diff --git a/meson.build b/meson.build index aaf873d..eb7f9ad 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,9 @@ -project('iot-contact') +project( + 'iot-contact', + default_options: { + 'prefix': '/', + }, +) subdir('tools') -- cgit v1.2.3-70-g09d2