[Gpg4win-devel] how to update a single package in the build tree
Marcus Brinkmann
marcus.brinkmann at ruhr-uni-bochum.de
Fri Nov 30 12:30:21 CET 2007
Hi,
here is a nifty trick how to update only a single package in the build
tree. You have to use --enable-maintainer-mode with configure, though.
Preparation:
$ cd src
$ make clean-PACKAGE # For example, clean-gpgex
Update the packages in packages/ and then in the top-level directory:
$ touch configure.ac
$ make
Note: Regenerating configure is a bit crude, but works. If you don't
want to do that, or if you don't use --enable-maintainer-mode, the
following might also work:
$ ./config.status --recheck
$ ./config.status
$ make
That's it.
Note: You might need to do a make clean-PACKAGE for some packages
which depend on the updated packages. There is currently no
automation for that. Use your judgement (or wait for problems :).
Note: It is important to first do the make clean-PACKAGE, then rerun
configure, because with the version numbers the directory names
change, too, and the clean will not complete properly otherwise.
Thanks,
Marcus
More information about the Gpg4win-devel
mailing list