rpm-guide Makefile,1.1,1.2

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Tue May 9 21:31:31 UTC 2006


Author: pfrields

Update of /cvs/docs/rpm-guide
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24265

Modified Files:
	Makefile 
Log Message:
Move XML files to proper naming conventions


Index: Makefile
===================================================================
RCS file: /cvs/docs/rpm-guide/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile	4 Oct 2005 01:43:23 -0000	1.1
+++ Makefile	9 May 2006 21:31:28 -0000	1.2
@@ -1,19 +1,69 @@
-###############################################################################
-# Makefile for RHLP docs project
-# Created by: Tammy Fox <tfox at redhat.com>
-# Last edited by: Tammy Fox <tfox at redhat.com>
-# WARNING: need passivetex 1.24 for pdf generation to work
+########################################################################
+# Fedora Documentation Project Per-document Makefile
 # License: GPL
-# Copyright 2003 Tammy Fox, Red Hat, Inc.
-###############################################################################
+# 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...
 
-LANGUAGES       	= en
-DOCBASE	        	= rpm-guide
-XMLEXTRAFILES-en        =
+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
+#
+########################################################################
 include ../docs-common/Makefile.common
-######################################################
-$(DOCNAME)/index.html::
-	mkdir -p $(DOCNAME)/figs
-	cp figs/*.png figs/*.eps $(DOCNAME)/figs
+########################################################################
+# 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
+########################################################################




More information about the Fedora-docs-commits mailing list