Tuesday, May 22, 2018

[389-commits] [389-ds-base] 01/01: Ticket 49689 - Fix local "make install" after adding cockpit subpackage

This is an automated email from the git hooks/post-receive script.

mreynolds pushed a commit to branch master
in repository 389-ds-base.

commit efc96f10defe0c622c50d8fa9ddcea0773b5e850
Author: Mark Reynolds <mreynolds@redhat.com>
Date: Tue May 22 12:27:50 2018 -0400

Ticket 49689 - Fix local "make install" after adding cockpit subpackage

Bug Description: When doing a local "make install" the cockpit UI files
are not copied to the "buildroot", which then leads to
rsync failing.

Fix Description: If the "source directory" is not the same as the current
directory, then its a local "make install" and not a
"make rpms". In that case just copy over the cockpit ui
directory to the local buildroot. This makes it easy to
test Cockpit UI changes using "make install".

https://pagure.io/389-ds-base/issue/49689

Reviewed by: mreynolds(one line commit rule)
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)

diff --git a/Makefile.am b/Makefile.am
index 5e72f1a..ec22761 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -753,6 +753,7 @@ libexec_SCRIPTS = ldap/admin/src/scripts/ds_selinux_enabled \
wrappers/ds_systemd_ask_password_acl

install-data-hook:
+ if [ "$(srcdir)" != "." ]; then cp -r $(srcdir)/src/cockpit src ; fi
rsync -rupE src/cockpit/389-console/ $(DESTDIR)$(cockpitdir)

if ENABLE_PERL

--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
389-commits mailing list -- 389-commits@lists.fedoraproject.org
To unsubscribe send an email to 389-commits-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-commits@lists.fedoraproject.org/message/XOVMUGCPLTTWOB47ZQ7SYTW2AAPA54TG/

No comments:

Post a Comment