summaryrefslogtreecommitdiffstats
path: root/BUILD.txt
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-11-07 16:46:37 +0100
committerMartin Babinsky <mbabinsk@redhat.com>2016-11-09 13:08:32 +0100
commitfee9bbd85afeac3593abd791de2d002bed300c8e (patch)
treee2db8d619dae9f61d517dba74e4819acec3bb79d /BUILD.txt
parent75a944e980c64061e51f4ec7215033c118f39863 (diff)
downloadfreeipa-fee9bbd85afeac3593abd791de2d002bed300c8e.tar.gz
freeipa-fee9bbd85afeac3593abd791de2d002bed300c8e.tar.xz
freeipa-fee9bbd85afeac3593abd791de2d002bed300c8e.zip
Build: add make rpms target and convenience script makerpms.sh
make rpms and ./makerpms.sh will produce the same RPM packages. The advantage of makerpms.sh is that it will take care of initial autoreconf & configure phases as needed. rpm-build-4.13.0-1.fc24.x86_64 broke parallel build of RPMs. If you get error INTERNAL: Exiting with 1 jobserver tokens available; should be 8! undefine the MAKEFLAGS variable and do not specify neither -j nor -l. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'BUILD.txt')
-rw-r--r--BUILD.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/BUILD.txt b/BUILD.txt
index 10faa6fff..66a936bce 100644
--- a/BUILD.txt
+++ b/BUILD.txt
@@ -32,14 +32,20 @@ Building
--------
From the root of the source tree run:
-$ make rpms
+$ ./makerpms.sh
The resulting rpm packages are in dist/rpms:
# yum --nogpgcheck localinstall dist/rpms/*
# ipa-server-install
-It may be possible to do a simple make all install but this has not been
+You might tweak the build and run steps separatelly:
+$ autoreconf -i
+$ ./configure
+$ make
+$ make install
+
+It may be possible to do a simple make install but this has not been
well-tested. Additional work is done in pre/post install scripts in the ipa
spec file.