diff options
author | Jim Meyering <meyering@redhat.com> | 2009-07-10 10:01:04 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-07-10 13:39:28 +0200 |
commit | f272378d52e28b937219121e8b90883df8a10012 (patch) | |
tree | 353e0145c767d13563b7c2fca756e21a7da562e3 /README-hacking | |
parent | build: make autogen.sh use autoreconf -if (diff) | |
download | libvirt-f272378d52e28b937219121e8b90883df8a10012.tar.gz libvirt-f272378d52e28b937219121e8b90883df8a10012.tar.bz2 libvirt-f272378d52e28b937219121e8b90883df8a10012.zip |
build: automatically rerun ./bootstrap when needed
When "git pull" (or any other operation) brings in a new version of the
gnulib git submodule, you must rerun the autogen.sh script. With this
change, "make" now fails and tells you to run ./autogen.sh, when needed.
* autogen.sh: Maintain a new file, .git-module-status, containing
the current submodule status. If it doesn't exist or its content
is different from what "git submodule status" prints, then run
./bootstrap
* .gitignore: Add .git-module-status
* cfg.mk: Diagnose out of date submodule and fail.
* README-hacking: Update not to mention bootstrap.
* Makefile.am (MAINTAINERCLEANFILES): Add .git-module-status,
so that "make maintainerclean" will remove it.
Diffstat (limited to 'README-hacking')
-rw-r--r-- | README-hacking | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/README-hacking b/README-hacking index 99c68fef4..4105a3ee6 100644 --- a/README-hacking +++ b/README-hacking @@ -28,13 +28,8 @@ You can get a copy of the source repository like this: $ git clone git://libvirt.org/libvirt $ cd libvirt -The next step is to get and check other files needed to build, -which are extracted from other source packages: - - $ ./bootstrap - -Then run this to create e.g., Makefiles and ./configure, -and to invoke ./configure: +The next step is to get all required pieces from gnulib, +to run autoreconf, and to invoke ./configure: $ ./autogen.sh |