[libvirt] [PATCH] make: fix another VPATH bug impacting install of sysconf files

Daniel P. Berrangé posted 1 patch 7 years, 2 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20180222145511.29305-1-berrange@redhat.com
Test syntax-check failed
src/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[libvirt] [PATCH] make: fix another VPATH bug impacting install of sysconf files
Posted by Daniel P. Berrangé 7 years, 2 months ago
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
---

Pushed as build fix

 src/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 2166e17dbe..8ceeda5756 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2833,7 +2833,7 @@ install-sysconfig:
 	for f in $(SYSCONF_FILES:%.sysconf=%) ; \
 	do \
 	  tgt=`basename $$f`; \
-	  $(INSTALL_SCRIPT) $$f.sysconf $(DESTDIR)$(sysconfdir)/sysconfig/$$tgt; \
+	  $(INSTALL_SCRIPT) $(srcdir)/$$f.sysconf $(DESTDIR)$(sysconfdir)/sysconfig/$$tgt; \
 	done
 
 uninstall-sysconfig:
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list