Author: pfrields
Update of /cvs/docs/yum-software-management In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18214/yum-software-management
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/yum-software-management/Makefile,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- Makefile 31 Oct 2006 20:55:31 -0000 1.15 +++ Makefile 12 Mar 2007 01:10:55 -0000 1.16 @@ -32,5 +32,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)) ########################################################################