From 52785d5a3fe6c39dd6a6a23718cf9a54d9ab0795 Mon Sep 17 00:00:00 2001 From: "Paul W. Frields" Date: Mon, 12 Mar 2007 01:25:56 +0000 Subject: Update module information to match new include statement for Makefile.common --- en_US/module-struct.xml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/en_US/module-struct.xml b/en_US/module-struct.xml index 400df6b..fcdb5e4 100644 --- a/en_US/module-struct.xml +++ b/en_US/module-struct.xml @@ -122,7 +122,7 @@ Sample Document Makefile - +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))]]> Do not be concerned with some of the more complicated syntax @@ -194,11 +198,11 @@ include ../docs-common/Makefile.common]]> discussed later in this guide. - The final line, beginning with include, - references the main Makefile for the build - system. This Makefile.common file contains - all the make(1) targets and rules to - actually build the document and the various archives. + The final section, beginning with define, + locates the main Makefile.common for the + build system. This Makefile.common file + contains all the make(1) targets and + rules to actually build the document and the various archives.
-- cgit