diff options
-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') |