From 1baf8fb2a51205cd8192cb387d4b68a77de3e625 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Mon, 12 Mar 2007 01:10:33 +0000 Subject: Update all Makefiles to use the new required macro for including the Makefile.common. This will work whether you check out the entire repository at one time or a single module with an included docs-common. --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dfd0b7d..87f589e 100644 --- a/Makefile +++ b/Makefile @@ -26,5 +26,9 @@ endef ###################################################### -include ../docs-common/Makefile.common +define find-makefile-common +for d in docs-common ../docs-common ../../docs-common; do +if [ -f $$d/Makefile.common ]; then echo "$$d/Makefile.common"; break; fi; done +endef +include $(shell $(find-makefile-common)) ###################################################### -- cgit