Improve alternate build-dir support
authorWayne Davison <wayne@opencoder.net>
Sun, 28 Jun 2020 20:22:15 +0000 (13:22 -0700)
committerWayne Davison <wayne@opencoder.net>
Sun, 28 Jun 2020 22:12:10 +0000 (15:12 -0700)
commitec3c9f2f5a6af532b1b5b80ed9baf477500dc8d5
treeaacb58dfab067ad26b81df5dcd541f8891f79743
parent3b4f5fb891e57ecda3fe09c3b93fc458c8cc81a7
Improve alternate build-dir support

We now put the configure.sh, config.h.in, and aclocal.m4 files in the
alternate build dir along with the other generated files.  This requires
that we create symlinks for configure.ac & m4 in the build dir, which is
handled on the first run of configure or prepare-source.  I also changed
the patch-branch handling away from the .gen-stash dir to an automatic
build/$PATCH subdir idiom that will keep each branch's configuration
separated.  These automatic build dirs are only used when there is a
.git dir, a build/master dir, and no top-dir Makefile.  You'll also
want to have package/make early on your path for optimal ease of use.
.gitignore
Makefile.in
configure
packaging/make [new file with mode: 0755]
packaging/patch-update
packaging/pkglib.py
packaging/release-rsync
prepare-source
prepare-source.mak
testsuite/itemize.test