Author: pfrields
Update of /cvs/docs/translation-quick-start-guide
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18214/translation-quick-start-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-quick-start-guide/Makefile,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- Makefile 9 Oct 2006 01:20:04 -0000 1.21
+++ Makefile 12 Mar 2007 01:11:23 -0000 1.22
@@ -23,7 +23,11 @@
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))
########################################################################
# If you want to add additional steps to any of the
# targets defined in "Makefile.common", be sure to use