From f0de61e598c19979bc176d8d7fee7a00666417f7 Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sat, 1 Oct 2005 18:18:58 +0200 Subject: [PATCH] Provide better message when running make before configure --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bcd8a164..fda6ffcf 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,15 @@ path_to_top = . -include $(path_to_top)/Makefile.config +-include $(path_to_top)/Makefile.config # TODO: Automagically rerun autoconf. SUBDIRS = doc po src CLEAN = features.log +ifeq ($(wildcard Makefile.config),) +# Catch all +$(MAKECMDGOALS) default: + @echo "You need to first run ./configure" +else include $(path_to_top)/Makefile.lib +endif -- 2.11.4.GIT