######################################################################## # Fedora Documentation Project Per-document Makefile # License: GPL # Copyright 2005,2006 Tommy Reynolds, MegaCoder.com ######################################################################## # # Document-specific definitions. # DOCBASE = rpm-guide PRI_LANG = en_US OTHERS = # If ${DOC_ENTITIES} is defined, ${PRI_LANG}/${DOC_ENTITIES}.xml # must contain a complete XML file conforming to the DTD located # in the "docs-common/common/entities/entities.dtd" file. Do NOT # reference this file in the XMLFILES_template below. 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}/rpm-guide.xml \ ${1}/rpm-guide-advanced-packaging.xml \ ${1}/rpm-guide-command-reference.xml \ ${1}/rpm-guide-creating-rpms.xml \ ${1}/rpm-guide-customizing-rpm.xml \ ${1}/rpm-guide-dependencies.xml \ ${1}/rpm-guide-development-tools.xml \ ${1}/rpm-guide-extra-packaging-tools.xml \ ${1}/rpm-guide-intro-packaging.xml \ ${1}/rpm-guide-intro-rpm.xml \ ${1}/rpm-guide-licensing.xml \ ${1}/rpm-guide-management-software.xml \ ${1}/rpm-guide-online-resources.xml \ ${1}/rpm-guide-other-linuxes.xml \ ${1}/rpm-guide-other-os.xml \ ${1}/rpm-guide-package-structure.xml \ ${1}/rpm-guide-packaging-guidelines.xml \ ${1}/rpm-guide-programming-c.xml \ ${1}/rpm-guide-programming-perl.xml \ ${1}/rpm-guide-programming-python.xml \ ${1}/rpm-guide-rpmbuild.xml \ ${1}/rpm-guide-rpm-evolution.xml \ ${1}/rpm-guide-rpm-overview.xml \ ${1}/rpm-guide-scripting.xml \ ${1}/rpm-guide-specfiles.xml \ ${1}/rpm-guide-specfile-syntax.xml \ ${1}/rpm-guide-transactions.xml \ ${1}/rpm-guide-using-rpm-db.xml \ ${1}/rpm-guide-using-rpm.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)) ######################################################################## # If you want to add additional steps to any of the # targets defined in "Makefile.common", be sure to use # a double-colon in your rule here. For example, to # print the message "FINISHED AT LAST" after building # the HTML document version, uncomment the following # line: #${DOCBASE}/index.html:: # echo FINISHED AT LAST ########################################################################