From dea5040e41d6233607307793070e0ddc708d684d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 22 Mar 2016 10:53:26 -0400 Subject: [PATCH] README: Elaborate a bit on building Pull request: #244 Approved by: jlebon --- README.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cb0da3cd..7b65d6e0 100644 --- a/README.md +++ b/README.md @@ -39,16 +39,25 @@ a "recursive git archive" script. There are several available online; [this code](https://git.gnome.org/browse/ostree/tree/packaging/Makefile.dist-packaging#n11) in OSTree is an example. -Once you have a git clone or recursive archive, building is the -same as almost every autotools project: +Once you have a git clone or recursive archive, the next step is to +install the build dependencies. At the moment, rpm-ostree has a hard +requirement on a bleeding edge version of +[libhif](https://github.com/rpm-software-management/libhif/). It also +requires a few other libraries like +[librepo](https://github.com/rpm-software-management/librepo). + +Once you have the dependencies, building is the same as every +autotools project: ``` env NOCONFIGURE=1 ./autogen.sh -./configure --prefix=... +./configure --prefix=/usr --libdir=/usr/lib64 --sysconfdir=/etc make -make install DESTDIR=/path/to/dest ``` +At this point you can run some of the unit tests with `make check`. +For more information on this, see `CONTRIBUTING.md`. + More documentation ------------------