######################################################################## # Fedora Documentation Project Per-document Makefile # License: GPL # Copyright 2005,2006 Tommy Reynolds, MegaCoder.com ######################################################################## # # Document-specific definitions. # DOCBASE = install-guide PRI_LANG = en_US # 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 = 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)/entities.xml \ $(1)/${DOCBASE}.xml \ $(1)/abouttoinstall.xml \ $(1)/acknowledgements.xml \ $(1)/adminoptions.xml \ $(1)/before-begin.xml \ $(1)/beginninginstallation.xml \ $(1)/bootloader.xml \ $(1)/diskpartitioning.xml \ $(1)/expert-quickstart.xml \ $(1)/firstboot.xml \ $(1)/installingpackages.xml \ $(1)/intro.xml \ $(1)/locale.xml \ $(1)/medialess.xml \ $(1)/networkconfig.xml \ $(1)/new-users.xml \ $(1)/nextsteps.xml \ $(1)/other-instmethods.xml \ $(1)/packageselection.xml \ $(1)/preparing-media.xml \ $(1)/pxe-server.xml \ $(1)/rootpassword.xml \ $(1)/techref.xml \ $(1)/timezone.xml \ $(1)/upgrading.xml \ $(1)/welcome.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)) ########################################################################