]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
update README
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Tue, 14 Jun 2022 10:23:21 +0000 (19:23 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Thu, 16 Jun 2022 12:52:00 +0000 (21:52 +0900)
The command line examples are updated to use '-c' option of meson
instead of cd command.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
README.rst

index d0ab38e3a6f0782884f833263ef21794eece3f70..bd8db7de160350b0e07a72a4265319d4529106f7 100644 (file)
@@ -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 <https://pygobject.readthedocs.io/> 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
 ===========