# libguestfs virt-inspector
-# Copyright (C) 2009-2010 Red Hat Inc.
+# Copyright (C) 2009-2011 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
example-windows-xp-cd.xml
EXTRA_DIST = \
- run-inspector-locally \
virt-inspector.pod
CLEANFILES = stamp-virt-inspector.pod
bin_PROGRAMS = virt-inspector
SHARED_SOURCE_FILES = \
+ ../fish/config.c \
../fish/inspect.c \
../fish/keys.c \
../fish/options.h \
-I$(srcdir)/../gnulib/lib -I../gnulib/lib \
-DLOCALEBASEDIR=\""$(datadir)/locale"\" \
$(LIBXML2_CFLAGS) \
+ $(LIBCONFIG_CFLAGS) \
$(WARN_CFLAGS) $(WERROR_CFLAGS)
virt_inspector_LDADD = \
+ $(LIBCONFIG_LIBS) \
$(top_builddir)/src/libguestfs.la \
$(LIBXML2_LIBS) \
../gnulib/lib/libgnu.la
# can run them. Instead you can run them by hand.
example-debian.xml:
- ./run-inspector-locally ../images/debian.img > $@
+ rm -f $@ $@-t
+ ../run $(builddir)/virt-inspector ../images/debian.img > $@-t
+ mv $@-t $@
example-fedora.xml:
- ./run-inspector-locally ../images/fedora.img > $@
+ rm -f $@ $@-t
+ ../run $(builddir)/virt-inspector ../images/fedora.img > $@-t
+ mv $@-t $@
example-ubuntu.xml:
- ./run-inspector-locally ../images/ubuntu.img > $@
+ rm -f $@ $@-t
+ ../run $(builddir)/virt-inspector ../images/ubuntu.img > $@-t
+ mv $@-t $@
example-windows.xml:
- ./run-inspector-locally ../images/windows.img | fgrep -v '<uuid>' > $@
+ rm -f $@ $@-t
+ ../run $(builddir)/virt-inspector ../images/windows.img | \
+ fgrep -v '<uuid>' > $@-t
+ mv $@-t $@