add install command to examples and update to autovala 1.2.0

This commit is contained in:
Chris Cromer 2017-10-30 20:16:41 -03:00
parent 9b5ed117bc
commit 0a192c6f62
1 changed files with 5 additions and 1 deletions

View File

@ -32,7 +32,7 @@ A graphical package manager for pacman
- appindicator-gtk3 (optional to build KDE tray icon) - appindicator-gtk3 (optional to build KDE tray icon)
- CMake - CMake
- Vala: 0.38 - Vala: 0.38
- AutoVala: 1.1.2 (optional to regenerate CMake and Meson files) - AutoVala: 1.2.0 (optional to regenerate CMake and Meson files)
## Using CMake with GNU Make ## Using CMake with GNU Make
@ -44,6 +44,7 @@ cmake .. \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_SYSCONFDIR=/etc
make make
make install
``` ```
### Extra build flags ### Extra build flags
@ -63,6 +64,7 @@ cmake .. \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_SYSCONFDIR=/etc
ninja ninja
ninja install
``` ```
### Extra build flags ### Extra build flags
@ -80,6 +82,7 @@ meson \
--prefix=/usr \ --prefix=/usr \
--sysconfdir=/etc --sysconfdir=/etc
ninja ninja
ninja install
``` ```
### Extra build flags ### Extra build flags
@ -97,6 +100,7 @@ The configure script is just a wrapper for CMake, in the background the build pr
--libdir=/usr/lib \ --libdir=/usr/lib \
--sysconfdir=/etc --sysconfdir=/etc
make make
make install
``` ```
### Extra configure options ### Extra configure options