diff options
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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)) ###################################################### |