install-guide/FC-6 Makefile,1.1,1.2

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Mon Mar 12 01:11:13 UTC 2007


Author: pfrields

Update of /cvs/docs/install-guide/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18214/install-guide/FC-6

Modified Files:
	Makefile 
Log Message:
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.


Index: Makefile
===================================================================
RCS file: /cvs/docs/install-guide/FC-6/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile	19 Dec 2006 01:24:13 -0000	1.1
+++ Makefile	12 Mar 2007 01:11:11 -0000	1.2
@@ -53,5 +53,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))
 ########################################################################




More information about the Fedora-docs-commits mailing list