Files
rsync/prepare-source.mak
Wayne Davison ec3c9f2f5a 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.
2020-06-28 15:12:10 -07:00

14 lines
231 B
Makefile

SHELL=/bin/sh
.PHONY: conf
conf: configure.sh config.h.in
aclocal.m4: m4/*.m4
aclocal -I m4
configure.sh: configure.ac aclocal.m4
autoconf -o configure.sh
config.h.in: configure.ac aclocal.m4
autoheader && touch config.h.in