documentation-guide Makefile,1.13,1.14

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


Author: pfrields

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

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/documentation-guide/Makefile,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- Makefile	18 Feb 2007 14:25:01 -0000	1.13
+++ Makefile	12 Mar 2007 01:10:33 -0000	1.14
@@ -26,5 +26,9 @@
 
 
 ######################################################
-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