############################################################################### # Fedora Documentation Project Per-document Makefile # License: GPL # Copyright 2005,2006 Tommy Reynolds, MegaCoder.com ############################################################################### # # Document-specific definitions. # DOCBASE = sudo-tutorial PRI_LANG = en_US OTHERS = pt DOC_ENTITIES = doc-entities ############################################################################### # List each XML file of your document in the template below. Append the # path to each file to the "XMLFILES-${1}" string. Use a backslash if you # need additional lines. Here, we have one extra file "en/para.xml"; that # gets written as "${1}/para.xml" because later, make(1) will need to compute # the necesssary filenames. Oh, do NOT include "fdp-info.xml" because that's # a generated file and we already know about that one... define XMLFILES_template XMLFILES-${1}=${1}/${DOCBASE}.xml endef # ############################################################################### 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)) ###############################################################################