mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
p2v: Move miniexpect library to common/miniexpect.
No change, just code motion.
This commit is contained in:
@@ -105,7 +105,7 @@ SUBDIRS += fish
|
||||
# virt-tools in C.
|
||||
SUBDIRS += align cat diff df edit format inspector make-fs rescue
|
||||
if HAVE_P2V
|
||||
SUBDIRS += p2v
|
||||
SUBDIRS += common/miniexpect p2v
|
||||
endif
|
||||
|
||||
# bash-completion
|
||||
|
||||
32
common/miniexpect/Makefile.am
Normal file
32
common/miniexpect/Makefile.am
Normal file
@@ -0,0 +1,32 @@
|
||||
# libguestfs virt-p2v
|
||||
# Copyright (C) 2009-2017 Red Hat Inc.
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 2 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
include $(top_srcdir)/subdir-rules.mk
|
||||
|
||||
# This directory contains a copy of the miniexpect library from
|
||||
# http://git.annexia.org/?p=miniexpect.git;a=summary
|
||||
# This is used in virt-p2v.
|
||||
noinst_LTLIBRARIES = libminiexpect.la
|
||||
|
||||
libminiexpect_la_SOURCES = \
|
||||
miniexpect.c \
|
||||
miniexpect.h
|
||||
libminiexpect_la_CFLAGS = \
|
||||
$(WARN_CFLAGS) $(WERROR_CFLAGS) \
|
||||
$(PCRE_CFLAGS)
|
||||
libminiexpect_la_LIBADD = \
|
||||
$(PCRE_LIBS)
|
||||
@@ -182,6 +182,7 @@ AC_CONFIG_FILES([Makefile
|
||||
cat/Makefile
|
||||
common/errnostring/Makefile
|
||||
common/edit/Makefile
|
||||
common/miniexpect/Makefile
|
||||
common/options/Makefile
|
||||
common/parallel/Makefile
|
||||
common/progress/Makefile
|
||||
|
||||
@@ -13,6 +13,8 @@ cat/ls.c
|
||||
cat/tail.c
|
||||
common/edit/file-edit.c
|
||||
common/edit/file-edit.h
|
||||
common/miniexpect/miniexpect.c
|
||||
common/miniexpect/miniexpect.h
|
||||
common/options/config.c
|
||||
common/options/decrypt.c
|
||||
common/options/display-options.c
|
||||
@@ -348,8 +350,6 @@ p2v/inhibit.c
|
||||
p2v/kernel-cmdline.c
|
||||
p2v/kernel.c
|
||||
p2v/main.c
|
||||
p2v/miniexpect.c
|
||||
p2v/miniexpect.h
|
||||
p2v/p2v.h
|
||||
p2v/ssh.c
|
||||
p2v/utils.c
|
||||
|
||||
@@ -94,6 +94,12 @@ The communication protocol used between the library and the daemon
|
||||
running inside the appliance has to encode errnos as strings, which is
|
||||
handled by this library.
|
||||
|
||||
=item F<common/miniexpect>
|
||||
|
||||
A copy of the miniexpect library from
|
||||
L<http://git.annexia.org/?p=miniexpect.git;a=summary>. This is used
|
||||
in virt-p2v.
|
||||
|
||||
=item F<common/options>
|
||||
|
||||
Common options parsing for guestfish, guestmount and some virt tools.
|
||||
|
||||
@@ -69,8 +69,6 @@ virt-p2v.xz: virt-p2v
|
||||
|
||||
noinst_PROGRAMS = virt-p2v
|
||||
|
||||
# Note that miniexpect comes from here:
|
||||
# http://git.annexia.org/?p=miniexpect.git;a=summary
|
||||
virt_p2v_SOURCES = \
|
||||
about-authors.c \
|
||||
about-license.c \
|
||||
@@ -83,8 +81,6 @@ virt_p2v_SOURCES = \
|
||||
kernel.c \
|
||||
kernel-cmdline.c \
|
||||
main.c \
|
||||
miniexpect.c \
|
||||
miniexpect.h \
|
||||
p2v.h \
|
||||
ssh.c \
|
||||
utils.c \
|
||||
@@ -94,6 +90,7 @@ virt_p2v_CPPFLAGS = \
|
||||
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
|
||||
-I$(top_srcdir)/common/utils -I$(top_builddir)/common/utils \
|
||||
-I$(top_srcdir)/lib -I$(top_builddir)/lib \
|
||||
-I$(top_srcdir)/common/miniexpect -I$(top_builddir)/common/miniexpect \
|
||||
-I$(srcdir)/../gnulib/lib -I../gnulib/lib
|
||||
|
||||
virt_p2v_CFLAGS = \
|
||||
@@ -106,6 +103,7 @@ virt_p2v_CFLAGS = \
|
||||
|
||||
virt_p2v_LDADD = \
|
||||
$(top_builddir)/common/utils/libutils.la \
|
||||
$(top_builddir)/common/miniexpect/libminiexpect.la \
|
||||
$(PCRE_LIBS) \
|
||||
$(LIBXML2_LIBS) \
|
||||
$(GTK_LIBS) \
|
||||
|
||||
@@ -13,6 +13,7 @@ cat/tail.c
|
||||
common/edit/file-edit.c
|
||||
common/errnostring/errnostring-gperf.c
|
||||
common/errnostring/errnostring.c
|
||||
common/miniexpect/miniexpect.c
|
||||
common/options/config.c
|
||||
common/options/decrypt.c
|
||||
common/options/display-options.c
|
||||
@@ -409,7 +410,6 @@ p2v/inhibit.c
|
||||
p2v/kernel-cmdline.c
|
||||
p2v/kernel.c
|
||||
p2v/main.c
|
||||
p2v/miniexpect.c
|
||||
p2v/ssh.c
|
||||
p2v/utils.c
|
||||
p2v/whole-file.c
|
||||
|
||||
Reference in New Issue
Block a user