summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-04-10 20:57:53 +0200
committerxengineering <me@xengineering.eu>2025-04-10 20:57:53 +0200
commit98c95039f1c505d8e6fe892888036d5c48dc398d (patch)
tree97702829bd322194d37c6ae3f48d18d43d89b559
parent4ee031182475464fe0ecb052882fd50520e6defc (diff)
downloadiot-contact-98c95039f1c505d8e6fe892888036d5c48dc398d.tar
iot-contact-98c95039f1c505d8e6fe892888036d5c48dc398d.tar.zst
iot-contact-98c95039f1c505d8e6fe892888036d5c48dc398d.zip
Simplify build and install steps
-rw-r--r--README.md11
-rw-r--r--meson.build7
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')