changeset 16057:8877c8da8a68

GNUmakefile: behave when Makefile is missing. * top/GNUmakefile: Always initialize _build-aux and _autoreconf.
author Simon Josefsson <simon@josefsson.org>
date Tue, 08 Nov 2011 21:28:44 +0100
parents 23fe834fffdb
children 95edb7c8da42
files ChangeLog top/GNUmakefile
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-08  Simon Josefsson  <simon@josefsson.org>
+
+	GNUmakefile: behave when Makefile is missing.
+	* top/GNUmakefile: Always initialize _build-aux and _autoreconf.
+
 2011-11-08  Bruno Haible  <bruno@clisp.org>
 
 	openat: Conditionalize dependencies.
--- a/top/GNUmakefile
+++ b/top/GNUmakefile
@@ -101,6 +101,11 @@
 
 # The package can override .DEFAULT_GOAL to run actions like autoreconf.
 -include ./cfg.mk
+
+# Allow cfg.mk to override these.
+_build-aux ?= build-aux
+_autoreconf ?= autoreconf -v
+
 include ./maint.mk
 
 ifeq ($(.DEFAULT_GOAL),abort-due-to-no-makefile)