X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=inspector%2FMakefile.am;h=435ba8723ae121c2cbcce64d64bb619903e7ab33;hb=0108d7861d4cc9a1f0d87d89080d1be7750e54b5;hp=24dcdef7abeee7bd2dcd33be46987d8b948fe133;hpb=c2f2a2c6769be908b25b0946f39770d09bb6ddc9;p=libguestfs.git diff --git a/inspector/Makefile.am b/inspector/Makefile.am index 24dcdef..435ba87 100644 --- a/inspector/Makefile.am +++ b/inspector/Makefile.am @@ -1,5 +1,5 @@ # 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 @@ -48,6 +48,7 @@ if HAVE_LIBXML2 bin_PROGRAMS = virt-inspector SHARED_SOURCE_FILES = \ + ../fish/config.c \ ../fish/inspect.c \ ../fish/keys.c \ ../fish/options.h \ @@ -64,9 +65,11 @@ virt_inspector_CFLAGS = \ -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 @@ -97,10 +100,18 @@ endif # can run them. Instead you can run them by hand. example-debian.xml: - ./run-inspector-locally ../images/debian.img > $@ + rm -f $@ $@-t + ./run-inspector-locally ../images/debian.img > $@-t + mv $@-t $@ example-fedora.xml: - ./run-inspector-locally ../images/fedora.img > $@ + rm -f $@ $@-t + ./run-inspector-locally ../images/fedora.img > $@-t + mv $@-t $@ example-ubuntu.xml: - ./run-inspector-locally ../images/ubuntu.img > $@ + rm -f $@ $@-t + ./run-inspector-locally ../images/ubuntu.img > $@-t + mv $@-t $@ example-windows.xml: - ./run-inspector-locally ../images/windows.img | fgrep -v '' > $@ + rm -f $@ $@-t + ./run-inspector-locally ../images/windows.img | fgrep -v '' > $@-t + mv $@-t $@