diff options
author | Petr Spacek <pspacek@redhat.com> | 2016-11-07 16:46:37 +0100 |
---|---|---|
committer | Martin Babinsky <mbabinsk@redhat.com> | 2016-11-09 13:08:32 +0100 |
commit | fee9bbd85afeac3593abd791de2d002bed300c8e (patch) | |
tree | e2db8d619dae9f61d517dba74e4819acec3bb79d /BUILD.txt | |
parent | 75a944e980c64061e51f4ec7215033c118f39863 (diff) | |
download | freeipa-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.txt | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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. |