From 860c03e1b7f449de6e349ed78feb6d426f9e87ed Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 13 Mar 2011 11:21:31 +0000 Subject: Be somewhat more militant with idiots who copy Makefile.defaults svn path=/trunk/netsurf/; revision=12018 --- Makefile.defaults | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.defaults') diff --git a/Makefile.defaults b/Makefile.defaults index 32ab68a9a..c5ec25e2e 100644 --- a/Makefile.defaults +++ b/Makefile.defaults @@ -402,5 +402,9 @@ ifeq ($(TARGET),cocoa) endif # Include any local configuration +ifneq ($(MAKEFILE_DEFAULTS_FINISHED),) +$(error Makefile.defaults has been double-included. If you did something utterly brain-dead such as copying Makefile.defaults to Makefile.config then you deserve all the pain you can imagine. Do NOT do that. Why not read the comments at the top of Makefile.defaults. They are there to help you, you numpty) +endif +MAKEFILE_DEFAULTS_FINISHED=yes -include Makefile.config -- cgit v1.2.3