summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2007-03-12 01:10:33 +0000
committerPaul W. Frields <stickster@gmail.com>2007-03-12 01:10:33 +0000
commit1baf8fb2a51205cd8192cb387d4b68a77de3e625 (patch)
treee3244b4d8190fc932aa05350f0ae307d668b3601
parent61a20c86d0c522791400bfd924fe6d26bb20d910 (diff)
downloaddocumentation-guide-1baf8fb2a51205cd8192cb387d4b68a77de3e625.tar.gz
documentation-guide-1baf8fb2a51205cd8192cb387d4b68a77de3e625.tar.xz
documentation-guide-1baf8fb2a51205cd8192cb387d4b68a77de3e625.zip
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.
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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))
######################################################