diff options
author | Eric Blake <ebb9@byu.net> | 2008-03-03 17:56:32 +0000 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-03-03 21:19:10 +0100 |
commit | 8eacedd3b53918c45faa8297ba8196d85a8f4152 (patch) | |
tree | 14126a2706acf92473b40a7957042bb7b972e193 /GNUmakefile | |
parent | dcc543f44c56d1b5793e4fcc1f3ef9bfb5e4ee54 (diff) | |
download | coreutils-8eacedd3b53918c45faa8297ba8196d85a8f4152.tar.xz |
GNUmakefile build tweaks.
* GNUmakefile: When Makefile is not present, make common targets depend
on "all" in order to trigger nicer error message.
* configure.ac: If autoconf is new enough, link GNUmakefile into VPATH
builds.
For more details, see
<http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/12853>.
Signed-off-by: Eric Blake <ebb9@byu.net>
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/GNUmakefile b/GNUmakefile index 49e41b7ff..2fce1fdb7 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -75,6 +75,8 @@ all: @echo "You must run ./configure before running \`make'." 1>&2 @exit 1 +check dist distcheck install: all + endif # Tell version 3.79 and up of GNU make to not build goals in this |