builder: install a $sysconfdir/virt-builder -> xdg-virt-builder symlink

This way "virt-builder" appears directly in the sysconfdir.

(cherry picked from commit 631c7d9241)
This commit is contained in:
Pino Toscano
2014-03-03 16:28:14 +01:00
committed by Richard W.M. Jones
parent d4ddc6b9d5
commit 1b5d4fb334
2 changed files with 4 additions and 0 deletions

View File

@@ -230,6 +230,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

View File

@@ -116,6 +116,7 @@ gl_EARLY
gl_INIT
AC_PROG_LIBTOOL
AC_PROG_LN_S
# Define $(SED).
m4_ifdef([AC_PROG_SED],[