mirror-tutorial Makefile,1.6,1.7

Paul W. Frields (pfrields) fedora-docs-commits at redhat.com
Fri Feb 17 23:32:45 UTC 2006


Author: pfrields

Update of /cvs/docs/mirror-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26947

Modified Files:
	Makefile 
Log Message:
Finish transition


Index: Makefile
===================================================================
RCS file: /cvs/docs/mirror-tutorial/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Makefile	18 Sep 2005 22:43:44 -0000	1.6
+++ Makefile	17 Feb 2006 23:32:38 -0000	1.7
@@ -1,21 +1,29 @@
-###############################################################################
-# Makefile for RHLP docs project
-# Created by: Tammy Fox <tfox at redhat.com>
-# Last edited by: Tommy Reynolds <Tommy.Reynolds at MegaCoder.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 Tommy Reynolds, MegaCoder.com
-###############################################################################
+# Copyright 2005,2006 Tommy Reynolds, MegaCoder.com
+########################################################################
+#
+# Document-specific definitions.
+#
+DOCBASE        	= mirror-tutorial
+PRI_LANG      	= en
+OTHERS		= 
+########################################################################
+# 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			= mirror-tutorial
-XMLEXTRAFILES-en	=
-
-######################################################
+define	XMLFILES_template
+XMLFILES-${1}=${1}/${DOCBASE}.xml
+endef
+#
+########################################################################
 include ../docs-common/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 




More information about the Fedora-docs-commits mailing list