Author: jtr
Update of /cvs/docs/sudo-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24631
Modified Files:
Makefile sudo-tutorial-en.xml
Log Message:
Updated to new docs-common/ build setup.
Index: Makefile
===================================================================
RCS file: /cvs/docs/sudo-tutorial/Makefile,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- Makefile 11 May 2005 16:50:26 -0000 1.1.1.1
+++ Makefile 18 Nov 2005 15:14:38 -0000 1.2
@@ -1,29 +1,22 @@
###############################################################################
-# Makefile for RHLP docs project
-# Created by: Tammy Fox <tfox(a)redhat.com>
-# Last edited by: Tammy Fox <tfox(a)redhat.com>
-# WARNING: need Apache FOP >= 0.20.5 for pdf generation to work
-# License: GPL
-# Copyright 2005 Tommy Reynolds <Tommy.Reynolds(a)MegaCoder.com>
-###############################################################################
-
-XSLPDF = ../xsl/main-pdf.xsl
-XSLHTML = ../xsl/main-html.xsl
-LANG = en
-DOCNAME = sudo-tutorial-$(LANG)
-XMLFILE = $(DOCNAME).xml
-
+#
+# Document-specific definitions.
+#
+LANGUAGES = en
+DOCBASE = sudo-tutorial
+#
+XMLEXTRAFILES-en=
+#
######################################################
-html:
- xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE)
- mkdir -p $(DOCNAME)/stylesheet-images
- cp ../stylesheet-images/*.png $(DOCNAME)/stylesheet-images
- cp ../css/fedora.css $(DOCNAME)
-
-
-awt pdf:
- xmlto $@ -x $(XSLPDF) $(XMLFILE)
+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
+# print the message "FINISHED AT LAST" after building
+# the HTML document version, uncomment the following
+# line:
+#${DOCBASE}-en/index.html::
+# echo FINISHED AT LAST
######################################################
-
-clean:
- ${RM} -rfv *.html *.pdf *.tex $(DOCNAME)
Index: sudo-tutorial-en.xml
===================================================================
RCS file: /cvs/docs/sudo-tutorial/sudo-tutorial-en.xml,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sudo-tutorial-en.xml 9 Jun 2005 16:06:26 -0000 1.2
+++ sudo-tutorial-en.xml 18 Nov 2005 15:14:38 -0000 1.3
@@ -3,7 +3,7 @@
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
-<!ENTITY % FEDORA-ENTITIES-EN SYSTEM "../common/fedora-entities-en.xml">
+<!ENTITY % FEDORA-ENTITIES-EN SYSTEM
"../docs-common/common/fedora-entities-en.ent">
%FEDORA-ENTITIES-EN;
<!ENTITY BOOKID "sudo-tutorial-0.1 (2005-04-03)"> <!-- change version
of manual and date here -->
Show replies by date