translation-guide Makefile,1.4,1.5

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


Author: pfrields

Update of /cvs/docs/translation-guide
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18214/translation-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/translation-guide/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Makefile	15 Nov 2005 23:26:03 -0000	1.4
+++ Makefile	12 Mar 2007 01:10:54 -0000	1.5
@@ -13,7 +13,11 @@
 XMLEXTRAFILES-en	=
 
 ######################################################
-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))
 ######################################################
 
 # If you want to add additional steps to any of the 




More information about the Fedora-docs-commits mailing list