]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build: rerun bootstrap if po/Makevars got nuked
authorEric Blake <eblake@redhat.com>
Wed, 4 Aug 2010 20:35:41 +0000 (14:35 -0600)
committerEric Blake <eblake@redhat.com>
Wed, 4 Aug 2010 20:36:14 +0000 (14:36 -0600)
commit5f211d4bc50da95dd44969177d2a860256bbdfd7
tree135aa8dd16d1f16e1608a58f011dcfdd3a97e7e3
parent634ea3faae0307cf08b796ff89d33f5711faaf38
build: rerun bootstrap if po/Makevars got nuked

There has been a frequent complaint of:

make[2]: Entering directory `/home/remote/eblake/libvirt/po'
make[2]: *** No rule to make target `/config.status', needed by `Makefile'.  Stop.

It happens after nuking and regenerating the po directory,
which is a common action after running anything like
'make dist' or 'make rpm' that dirties all the .po files.

Teach autogen.sh that it must regenerate po/Makevars to avoid
the missing variable declaration, and teach cfg.mk to recognize
that a nuked po directory is cause to rerun autogen.sh.

* cfg.mk (_update_required): Check for po/Makevars.
* autogen.sh (bootstrap): Run bootstrap if it got lost.
Diagnosed by Justin Clift.
autogen.sh
cfg.mk