From: Takashi Sakamoto Date: Tue, 14 Jun 2022 10:23:21 +0000 (+0900) Subject: update README X-Git-Tag: v0.3.0~96 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=956f21220306267638f1749cabba060de33d1b9c;p=alsa-gobject.git update README The command line examples are updated to use '-c' option of meson instead of cd command. Signed-off-by: Takashi Sakamoto --- 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 ===========