1. `make' doesn't call `make all', even though .DEFAULT_GOAL is set via 3.80.
2. Call make help when we're not a) cleaning, b) doing autotools, or c) calling help (avoid infinite recursive $(MAKE).
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
diff --git a/Makefile b/Makefile
index 06c2136..fc32eab 100644
--- a/Makefile
+++ b/Makefile
@@ -30,14 +30,6 @@
include $(top_srcdir)/include/mk/env_pre.mk
include $(top_srcdir)/include/mk/automake.mk
-# This variable is automatically changed from help to all once someone has
-# run configure, or the equivalent steps manually, as described in INSTALL.
-ifeq ($(wildcard $(top_builddir)/include/config.h),)
-.DEFAULT_GOAL := help
-else
-.DEFAULT_GOAL := all
-endif
-
.SUFFIXES:
.SUFFIXES: .am .default .h .in .m4 .mk
diff --git a/include/mk/automake.mk b/include/mk/automake.mk
index 151c2a9..b187090 100644
--- a/include/mk/automake.mk
+++ b/include/mk/automake.mk
@@ -111,8 +111,7 @@
$(AUTOGENERATED_FILES): $(top_builddir)/config.status
$(SHELL) $^
-$(top_builddir)/include/config.h: $(top_srcdir)/include/config.h.in
-
-$(top_builddir)/config.status $(top_srcdir)/include/config.h.in:
- $(MAKE) -C $(top_srcdir) help; \
- exit 1
+# This variable is automatically changed from help to all once someone has
+# run configure, or the equivalent steps manually, as described in INSTALL.
+$(top_builddir)/include/mk/config.mk:
+ $(MAKE) -C $(top_srcdir) help; false