# 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 '<uuid>' > $@
-
-# Build a partly-static library (for the binary distribution).
-
-virt-inspector.static$(EXEEXT): $(virt_inspector_OBJECTS) $(virt_inspector_DEPENDENCIES)
- $(top_srcdir)/relink-static.sh \
- $(virt_inspector_LINK) $(virt_inspector_OBJECTS) -static $(virt_inspector_LDADD) $(virt_inspector_LIBS) $(LIBVIRT_LIBS) $(LIBXML2_LIBS) -lpcre -lhivex -lmagic -lz -lm
+ rm -f $@ $@-t
+ ./run-inspector-locally ../images/windows.img | fgrep -v '<uuid>' > $@-t
+ mv $@-t $@