Make GNUmakefile work with in-place builds.
commite043e9e76d6953676ed870a6f47be9723363b7cb
authorEric Blake <ebb9@byu.net>
Tue, 4 Mar 2008 16:17:48 +0000 (4 09:17 -0700)
committerEric Blake <ebb9@byu.net>
Tue, 4 Mar 2008 16:46:24 +0000 (4 09:46 -0700)
treec4c1876f6b1b2ff1275aa7c6076ed818b1cf8b45
parentbbd4dc7a69f52ed1c8e36702f540102a0c9bc50c
Make GNUmakefile work with in-place builds.

* configure.ac (AC_CONFIG_LINKS): Use m4_PACKAGE_VERSION to work
with older autoconf.  Use shell variable to bypass older automake
distclean rules.
* Makefile.am (distclean-local): Remove GNUmakefile link in VPATH
builds, since we bypassed automake.
* GNUmakefile: Collapse redundant lines.
(_is-dist-target): 'distclean' is not a dist target.
* Makefile.maint (vc-diff-check): Support out-of-tree VPATH build.
Reported by Ralf Wildenhues.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
GNUmakefile
Makefile.am
Makefile.maint
configure.ac