[Pkg-libvirt-commits] [libguestfs] 08/34: builder: install a $sysconfdir/virt-builder -> xdg-virt-builder symlink

Hilko Bengen bengen at moszumanska.debian.org
Fri Mar 7 10:39:32 UTC 2014


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

bengen pushed a commit to branch experimental
in repository libguestfs.

commit 631c7d9241febcc7889d0fcb88aa07858174dbe1
Author: Pino Toscano <ptoscano at redhat.com>
Date:   Mon Mar 3 16:28:14 2014 +0100

    builder: install a $sysconfdir/virt-builder -> xdg-virt-builder symlink
    
    This way "virt-builder" appears directly in the sysconfdir.
---
 builder/Makefile.am | 3 +++
 configure.ac        | 1 +
 2 files changed, 4 insertions(+)

diff --git a/builder/Makefile.am b/builder/Makefile.am
index a539e91..b3de967 100644
--- a/builder/Makefile.am
+++ b/builder/Makefile.am
@@ -246,6 +246,9 @@ DISTCLEANFILES = .depend
 repoconfdir = $(sysconfdir)/xdg/virt-builder/repos.d
 repoconf_DATA = libguestfs.conf libguestfs.gpg
 
+install-exec-hook:
+	$(LN_S) xdg/virt-builder $(DESTDIR)$(sysconfdir)/virt-builder
+
 # Build a small C index validator program.
 bin_PROGRAMS = virt-index-validate
 
diff --git a/configure.ac b/configure.ac
index 8ea2620..da7caa7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,6 +116,7 @@ gl_EARLY
 gl_INIT
 
 AC_PROG_LIBTOOL
+AC_PROG_LN_S
 
 # Define $(SED).
 m4_ifdef([AC_PROG_SED],[

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git



More information about the Pkg-libvirt-commits mailing list