From 048672e1923144cc4bb2f0a5f9dfd9d8e6994f2e Mon Sep 17 00:00:00 2001 From: Takashi Sakamoto Date: Tue, 14 Jun 2022 19:23:21 +0900 Subject: [PATCH] update README The command line examples are updated to use '-c' option of meson instead of cd command. Signed-off-by: Takashi Sakamoto --- README.rst | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index d0ab38e..bd8db7d 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ The alsa-gobject project ======================== -2022/04/03 +2022/06/06 Takashi Sakamoto Introduction @@ -77,21 +77,20 @@ How to build Preparation :: - $ meson (--prefix=xxx) . build - $ cd build + $ meson (--prefix=install-directory) build-directory Build :: - $ ninja + $ meson compile -C build-directory Test :: - $ meson test + $ meson test -C build-directory (PyGObject is required) Install :: - $ meson install + $ meson install -C build-directory After installed, C headers for APIs are available and pkg-config returns arguments for them. For example :: @@ -101,10 +100,9 @@ arguments for them. For example :: Generate documentation :: - $ meson --prefix=xxx -D doc=true . build - $ cd build - $ meson install - $ xdg-open xxx/share/doc/alsa-gobject/index.html + $ meson --prefix=install-directory -D doc=true build + $ meson install -C build + $ xdg-open (install-directory)/share/doc/alsa-gobject/index.html Design note =========== -- 2.47.3