Commit Graph

21 Commits

Author SHA1 Message Date
Jim Meyering
2f1a50d816 Convert all TABs-as-indentation to spaces.
Do it by running this command:
[exempted files are matched via .x-sc_TAB_in_indentation]

  git ls-files \
    | pcregrep -vf .x-sc_TAB_in_indentation \
    | xargs pcregrep -l '^ *\t' \
    | xargs perl -MText::Tabs -ni -le \
      '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_'
2009-08-03 17:17:57 +02:00
Jim Meyering
5fa153b186 Guard #inclusion of config.h in examples.
* examples/hello.c [HAVE_CONFIG_H]: Include <config.h> conditionally.
* examples/to-xml.c: Likewise.
2009-08-03 15:21:44 +02:00
Jim Meyering
3572996364 always include <config.h>
* ocaml/guestfs_c.c: Include <config.h>.
* examples/to-xml.c: Likewise.
* examples/hello.c: Likewise.
2009-08-03 15:14:30 +02:00
Matthew Booth
349814e9d9 Make it possible to build in a separate directory
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.
2009-07-03 16:16:51 +01:00
Richard W.M. Jones
a1e8cdf2a2 Move the appliance and build scripts into new appliance/ subdirectory. 2009-05-28 13:00:31 +01:00
Jim Meyering
41b959fd9b build: don't tell "make clean" to remove my '~' backup files
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.
2009-04-30 16:13:06 +01:00
Richard Jones
0725678827 Add support for ext4 to examples/to-xml.c 2009-04-24 19:03:18 +01:00
Richard Jones
92c2c33d61 Fix infinite loop encountered when reading Windows disk in example program. 2009-04-22 15:27:42 +01:00
Richard Jones
4905c1ae8b Show byte sizes in example. 2009-04-15 17:58:35 +01:00
Richard Jones
3e9f98d0f7 Display ext2/3 details, and some bug fixes. 2009-04-15 14:19:03 +01:00
Richard Jones
7fe2b338e4 Added to-xml program. 2009-04-15 12:34:18 +01:00
Richard Jones
197f0ceeac Remove 'df' program from examples - didn't ever work. 2009-04-15 10:52:37 +01:00
Richard Jones
d19ceb226c Remove *~ files when doing 'make clean'. 2009-04-09 19:47:22 +01:00
Richard Jones
ff1f39794b Make the partition configurable. 2009-04-03 19:16:27 +01:00
Richard Jones
e83181345f Added README file for examples directory. 2009-04-03 19:13:48 +01:00
Richard Jones
3906e4ff91 No verbose. User can enable by setting LIBGUESTFS_DEBUG=1 if they want. 2009-04-03 19:11:44 +01:00
Richard Jones
40ca9a5782 Daemon and library are mostly talking to each other now. 2009-04-03 17:24:35 +01:00
Richard Jones
56465eb694 Correctly handle the case when select runs out of filehandles. 2009-04-02 20:55:41 +01:00
Richard Jones
88f69eb031 Guest boots, and basic select/callbacks work. 2009-04-02 20:07:21 +01:00
Richard Jones
1a2deb2bcd Moved .cvsignore -> .gitignore. 2009-04-01 12:53:40 +01:00
rjones
b6233d1fff Running qemu as a subprocess. 2009-03-03 15:35:50 +00:00