GNOME Bugzilla – Bug 365347
jhbuild should clean tarball directories
Last modified: 2007-12-18 15:22:59 UTC
If a tarball module's build directory already exists, and jhbuild has been asked to clean and run autconf (with -c and -a), it should at least remove am__CONFIG_DISTCLEAN_FILES - ie config.status config.cache config.log configure.lineno configure.status.lineno. Unfortunately there doesn't seem to be an automake rule for this - distclean and maintainerclean also remove the Makefile. Since jhbuild doesn't currently run autoconf for tarball builds this isn't really an option. http://jhbuild.bxlug.be/builds/2006-10-25-0008/logs/gnutls/build.log and http://jhbuild.bxlug.be/builds/2006-10-25-0008/logs/gnutls/#build
jhbuild has a clobber mode, which will 'rm -rf' the build directory and rebuild (bug 347114). Set it in your .jhbuildrc with either: checkout_mode = 'clobber' module_checkout_mode['cairo'] = 'clobber' Or jhbuild reconfigures tarballs with -a option (bug 502278). Do these methods solve your problem?
I'm not jhbuliding at the moment, but bug 502278 seems like the functionality I was asking for. *** This bug has been marked as a duplicate of 502278 ***