diff options
author | xengineering <me@xengineering.eu> | 2025-04-10 20:57:53 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2025-04-10 20:57:53 +0200 |
commit | 98c95039f1c505d8e6fe892888036d5c48dc398d (patch) | |
tree | 97702829bd322194d37c6ae3f48d18d43d89b559 | |
parent | 4ee031182475464fe0ecb052882fd50520e6defc (diff) | |
download | iot-contact-98c95039f1c505d8e6fe892888036d5c48dc398d.tar iot-contact-98c95039f1c505d8e6fe892888036d5c48dc398d.tar.zst iot-contact-98c95039f1c505d8e6fe892888036d5c48dc398d.zip |
Simplify build and install steps
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | meson.build | 7 |
2 files changed, 12 insertions, 6 deletions
@@ -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') |