summaryrefslogtreecommitdiffstats
path: root/inspector/Makefile.am
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add ./run --test option.Richard W.M. Jones2012-06-261-4/+8
| | | | | | | This option, when added via TESTS_ENVIRONMENT = [...] $(top_builddir)/run --test allows us to run the tests and only print the full output (including debugging etc) when the test fails.
* build: Define builddir and abs_srcdir when they are missing.Richard W.M. Jones2012-06-181-0/+3
| | | | | | | | | | | | | | | | | | | | | RHEL 5-era autoconf did not define these, so define them manually when they are missing. Define builddir as '.' The scripts require this. It won't work in the srcdir != builddir case, but we don't care about that for RHEL 5. This commit also moves the builddir / abs_srcdir variable setting above the include of subdir-rules.mk, in case that include uses these variables. Useful script: for f in $(find -name Makefile.am | xargs fgrep '$(abs_srcdir)' -l) ; do if ! grep -q '^abs_srcdir' $f; then echo missing in $f fi done
* Tempus fugit.Richard W.M. Jones2012-01-181-1/+1
| | | | Update all copyright dates to 2012.
* tests: Split images -> tests/data + tests/guestsRichard W.M. Jones2011-12-221-4/+4
|
* Update FSF address.Matthew Booth2011-11-081-1/+1
|
* out-of-tree build: fixed bindtests and inspectorHilko Bengen2011-10-211-1/+1
|
* out-of-tree build: fix documentation generationHilko Bengen2011-08-151-1/+1
|
* Enable deprecation warnings on all C programs.Richard W.M. Jones2011-05-171-0/+1
|
* Remove ad-hoc run*locally scripts, replace with './run'Richard W.M. Jones2011-04-161-5/+5
| | | | | Remove all the run*locally scripts and replace with a single top level ./run shell script.
* inspector: Handle write failures when creating example-*.xml.Richard W.M. Jones2011-04-141-4/+12
|
* Add /etc/libguestfs-tools.conf configuration file.Richard W.M. Jones2011-03-311-1/+4
| | | | | This allows the default for --ro or --rw to be controlled for the three tools guestfish, guestmount and virt-rescue.
* Add ability to inspect install disks and live CDs.Richard W.M. Jones2011-01-151-1/+10
| | | | | For examples of the virt-inspector output, see the additional inspector/example-*.xml files in this commit.
* Remove ability to build static distribution.Richard W.M. Jones2010-12-061-6/+0
| | | | | | We are now going to build binaries for each distribution so there is no need to build the quasi-distro-independent static binaries any more.
* build: Centralize all POD manipulation in 'podwrapper.sh' script.Richard W.M. Jones2010-11-241-18/+11
|
* inspector: Fix rule to build HTML file.Richard W.M. Jones2010-11-191-1/+1
| | | | This updates commit c5cb65f0aac3298e634b183f73fda6644a158018.
* inspector: Rewrite virt-inspector in C.Richard W.M. Jones2010-11-191-14/+37
|
* inspector: Replace old examples with ones derived from phony images.Richard W.M. Jones2010-11-161-2/+16
|
* inspector: Rewrite virt-inspector (RHBZ#642930).Richard W.M. Jones2010-10-281-2/+6
| | | | | | | | | | | | Rewrite virt-inspector: - remove old and unsupportable features - use the C inspection API - don't run programs from the guest The RNG has been updated to reflect the new XML-only output. The new example files show the new XML output.
* po: Include strings from Perl programs in the PO files (RHBZ#559963).Richard Jones2010-05-121-0/+9
| | | | | | | | | xgettext will only recognize '*.pl' as being a Perl file (otherwise it treats it as a C file and does not correctly find any strings in it). This commit also fixes two actual bugs that xgettext found in the strings in our Perl programs.
* RHEL5: Keep old automake happy by defining docdirRichard W.M. Jones2010-02-051-0/+1
|
* Remove separate inspector_generator.ml, combine this with generator.ml.Richard Jones2009-12-311-14/+2
| | | | | | | | | | | This commit combines the previously separate "inspector_generator.ml" program which generated bindings for virt-inspector. Having two separate programs caused no end of troubles for developers, so we now combine them into a single program. NOTE: OCaml xml-light is now *required* in order to rebuild the generated code.
* build: Fix inter-directory dependenciesMatthew Booth2009-11-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds an explicit dependency on generator.ml for every file it generates, except java files. Java is left for another time because it's considerably trickier. It also adds a build rule for src/libguestfs.la so it can be rebuilt as required from other directories. It does this by creating a top level make file, subdir-rules.mk, which can be included from sub-directories. sub-directories need to define 'generator_built' to include local files which are built by generator.ml, and they will be updated automatically. This fixes parallel make, and will automatically re-create generated files when make is run from any directory. It also fixes the problem which efad4f53 was targetting. Specifically, src/guestfs_protocol.(c|h) had an erroneous dependency on stamp-generator, and therefore generator.ml, despite not being directly created by it. This caused them to be recreated every time generator.ml ran rather than only when src/guestfs_protocol.x was updated, which cascaded into a daemon and therefore appliance update. This patch also changes the contents of the distribution tarball by including files created by rpcgen.
* Add some missing EXTRA_DIST files.Richard Jones2009-10-141-1/+2
|
* inspector: Generate language bindings for OCaml.Richard Jones2009-10-131-1/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds a generic mechanism for deriving language bindings for virt-inspector, and implements one concrete binding, for OCaml. The bindings are generated from the RELAX NG schema (virt-inspector.rng) which is supposed to be a correct and always up to date description of the XML that the virt-inspector program can generate. From the RNG we generate a set of types to describe the output of virt-inspector for the language, plus an XML parser, plus some glue code to actually run an external instance of virt-inspector and parse the resulting XML. At runtime, an external 'virt-inspector --xml <name>' command runs and the XML is parsed into language-specific structures. This has been tested on the four example files (inspector/example?.xml) The only particular difficulty about the OCaml binding is the use of Obj.magic, which is naughty but works because of the isomorphism between the representation of tuples and records in OCaml. This seems to cause no problems in my test program. Apart from this, the OCaml binding is straightforward and could be adapted easily for any other languages that want type-safe virt-inspector bindings. It's important to keep virt-inspector.rng up to date with changes to virt-inspector's XML output format.
* inspector: Fix inspector/Makefile.amRichard Jones2009-10-021-4/+3
| | | | | | | | Accidentally pushed the older version of the patch in commit 9d25e82491ddcf495e1d30694327e4bfd3a23445. This includes Jim Meyering's suggested changes from https://www.redhat.com/archives/libguestfs/2009-October/msg00017.html
* inspector: Add tests for RELAX NG schema.Richard Jones2009-10-021-1/+13
|
* Include virt tools in EXTRA_DIST.Richard Jones2009-09-231-1/+2
| | | | | | Partially revert b488436cc54288fcae8988493749f2e6c87f274c. It turns out that automake doesn't automatically place bin_SCRIPTS in EXTRA_DIST.
* Rename virt-[tool].pl as virt-[tool]Richard Jones2009-09-231-8/+4
|
* Create manpage atomically.Richard Jones2009-09-231-1/+1
| | | | Don't fail with a partial file if disk full, etc.
* Replace @...@ with $(...) in these common Makefile.am files.Richard Jones2009-09-231-4/+4
|
* Make it possible to build in a separate directoryMatthew Booth2009-07-031-3/+4
| | | | | | | | | | | | | | | | | | | | | | This patch allows you to do: mkdir build cd build ../configure ... make This will output all generated files to the build directory. Given that autogen automatically runs configure, you can also do: BUILDDIR=./build ./autogen.sh which will do the right thing. Also: * Fix a dependency bug which means that guestfs_protocol.h isn't automatically rebuilt. * Re-running autogen.sh with no arguments won't blow away your previous configure arguments.
* build: don't tell "make clean" to remove my '~' backup filesJim Meyering2009-04-301-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi Rich, automake's policy on what to remove via "make clean" is reasonable: if running build rules creates it, then "make clean" can and should remove it. However, even if build rules happen to create backup files, please remove only the specific ones they can create, not all of the ones in a directory. Just in case someone relies on those and expect them to hang around... >From 1e8be391ac17b4ddcf9671e8413d2660844e6993 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyering@redhat.com> Date: Thu, 30 Apr 2009 15:47:52 +0200 Subject: [PATCH] build: don't tell "make clean" to remove my '~' backup files * Makefile.am (CLEANFILES): Don't remove '~' backup files. * daemon/Makefile.am: Ditto. * examples/Makefile.am: Ditto. * fish/Makefile.am: Ditto. * images/Makefile.am: Ditto. * inspector/Makefile.am: Ditto. * java/Makefile.am: Ditto. * ocaml/Makefile.am: Ditto. * ocaml/examples/Makefile.am: Ditto. * perl/Makefile.am: Ditto. * python/Makefile.am: Ditto. * ruby/Makefile.am: Ditto. * src/Makefile.am: Ditto.
* Build virt-inspector HTML for the website.Richard Jones2009-04-281-0/+10
|
* Prepare for 1.0.15.1.0.15Richard Jones2009-04-281-0/+1
|
* Added virt-inspector program from virt-v2v.Richard Jones2009-04-281-0/+38