documentation-guide Makefile,1.6,1.7
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/documentation-guide
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7160
Modified Files:
Makefile
Log Message:
Subscribe to new Makefile.common functions
Index: Makefile
===================================================================
RCS file: /cvs/docs/documentation-guide/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Makefile 28 Jun 2005 21:46:45 -0000 1.6
+++ Makefile 29 Jun 2005 13:02:27 -0000 1.7
@@ -16,16 +16,3 @@
######################################################
include ../docs-common/Makefile.common
######################################################
-html:
- @xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE)
- @mkdir -p $(DOCNAME)/stylesheet-images
- @cp ../docs-common/stylesheet-images/*.png $(DOCNAME)/stylesheet-images
- @cp ../docs-common/css/fedora.css $(DOCNAME)
-
-
-pdf:
- @xmlto pdf -x $(XSLPDF) $(XMLFILE)
-######################################################
-
-clean:
- @rm -rfv *.html *.pdf *.tex $(DOCNAME) $(DOCNAME).tar.gz
18 years, 9 months
mirror-tutorial Makefile,1.3,1.4
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/mirror-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6089
Modified Files:
Makefile
Log Message:
Subscribe to new Makefile.common functionality
Index: Makefile
===================================================================
RCS file: /cvs/docs/mirror-tutorial/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- Makefile 28 Jun 2005 22:34:56 -0000 1.3
+++ Makefile 29 Jun 2005 12:57:41 -0000 1.4
@@ -1,31 +1,29 @@
###############################################################################
# Makefile for RHLP docs project
# Created by: Tammy Fox <tfox(a)redhat.com>
-# Last edited by: Tammy Fox <tfox(a)redhat.com>
+# Last edited by: Tommy Reynolds <Tommy.Reynolds(a)MegaCoder.com>
# WARNING: need passivetex 1.24 for pdf generation to work
# License: GPL
# Copyright 2003 Tammy Fox, Red Hat, Inc.
+# Copyright 2005 Tommy Reynolds, MegaCoder.com
###############################################################################
-XSLPDF = ../docs-common/xsl/main-pdf.xsl
-XSLHTML = ../docs-common/xsl/main-html.xsl
-LANG = en
-DOCNAME = mirror-tutorial-$(LANG)
-XMLFILE = $(DOCNAME).xml
+XSLPDF = ../docs-common/xsl/main-pdf.xsl
+XSLHTML = ../docs-common/xsl/main-html.xsl
+LANG = en
+DOCNAME = mirror-tutorial-$(LANG)
+XMLFILE = $(DOCNAME).xml
+XMLEXTRAFILES =
######################################################
include ../docs-common/Makefile.common
######################################################
-html:
- @xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE)
- @mkdir -p $(DOCNAME)/stylesheet-images
- @cp ../docs-common/stylesheet-images/*.png $(DOCNAME)/stylesheet-images
- @cp ../docs-common/css/fedora.css $(DOCNAME)
-
-pdf-%:
- @xmlto pdf -x $(XSLPDF) $(XMLFILE)
-######################################################
-
-clean:
- @rm -rfv *.html *.pdf *.tex $(DOCNAME) $(DOCNAME).tar.gz
+# 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:
+#${DOCNAME}/index.html::
+# echo FINISHED AT LAST
18 years, 9 months
docs-common Makefile.common,1.2,1.3
by fedora-docs-commits@redhat.com
Author: jtr
Update of /cvs/docs/docs-common
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24282/docs-common
Modified Files:
Makefile.common
Log Message:
Move _ALL_ default targets and rules into "Makefile.common" as
double-colon targets, so they can be appended-to by a document without
needing to rewrite "Makefile.common".
Index: Makefile.common
===================================================================
RCS file: /cvs/docs/docs-common/Makefile.common,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile.common 28 Jun 2005 21:25:17 -0000 1.2
+++ Makefile.common 29 Jun 2005 02:16:46 -0000 1.3
@@ -1,2 +1,51 @@
-tarball ${DOCNAME}.tar.gz: html
+#########################################################################
+# Makefile.common
+#
+# This file, to be included from every document's local Makefile, provides
+# the basic targets used by the Fedora Docs Project:
+# all -- Default target, builds HTML document only
+# ${DOCNAME}/index.html -- Builds HTML version of document
+# html -- See "${DOCNAME}/index.html"
+# ${DOCNAME}.tar.gz -- Packages HTML document into a tar archive
+# tarball -- See "${DOCNAME}.tar.gz"
+# clean -- Deletes all generated files and directories
+# distclean -- See "clean"
+# ${DOCNAME}.pdf -- Builds PDF version of document
+# pdf -- See "${DOCNAME}.pdf"
+#########################################################################
+# PDF generation is still fragile and probably won't work on your document
+#########################################################################
+# Note: all targets within this Makefile.common must be defined as
+# double-colon (::) targets so that additional steps can be added by
+# providing additional rules, also marked with double-colons, in the
+# document Makefile.
+#########################################################################
+# PUT NO TARGETS BEFORE THIS ONE, not even in your base Makefile
+# In a properly-constructed Makefile, this will be the default target
+
+all:: ${DOCNAME}/index.html
+
+# The "tarball" or "${DOCNAME}.tar.gz" target will bind the HTML formatted
+# document into a compressed tar archive.
+
+tarball ${DOCNAME}.tar.gz:: html
tar -zcf ${DOCNAME}.tar.gz ${DOCNAME}
+
+# The "pdf" or "${DOCNAME}.pdf" target produces an Adobe Portable Document
+# Format (PDF) file as output.
+
+pdf ${DOCNAME}.pdf:: ${XMLFILE} ${XMLEXTRAFILES}
+ xmlto pdf -x $(XSLPDF) $(XMLFILE)
+
+# The "html" or "${DOCNAME}.
+html ${DOCNAME}/index.html:: ${XMLFILE} ${XMLEXTRAFILES}
+ xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE)
+ mkdir -p $(DOCNAME)/stylesheet-images
+ cp ../docs-common/stylesheet-images/*.png $(DOCNAME)/stylesheet-images
+ cp ../docs-common/css/fedora.css $(DOCNAME)
+
+# The "clean" or "distclean" target will remove all generated and temporary
+# files.
+
+distclean clean:
+ ${RM} -r ${DOCNAME}.pdf $(DOCNAME) ${DOCNAME}.tar.gz
18 years, 9 months
example-tutorial Makefile,1.8,1.9
by fedora-docs-commits@redhat.com
Author: jtr
Update of /cvs/docs/example-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv24282/example-tutorial
Modified Files:
Makefile
Log Message:
Move _ALL_ default targets and rules into "Makefile.common" as
double-colon targets, so they can be appended-to by a document without
needing to rewrite "Makefile.common".
Index: Makefile
===================================================================
RCS file: /cvs/docs/example-tutorial/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Makefile 28 Jun 2005 21:25:16 -0000 1.8
+++ Makefile 29 Jun 2005 02:16:46 -0000 1.9
@@ -1,31 +1,29 @@
###############################################################################
# Makefile for RHLP docs project
# Created by: Tammy Fox <tfox(a)redhat.com>
-# Last edited by: Tammy Fox <tfox(a)redhat.com>
+# Last edited by: Tommy Reynolds <Tommy.Reynolds(a)MegaCoder.com>
# WARNING: need passivetex 1.24 for pdf generation to work
# License: GPL
# Copyright 2003 Tammy Fox, Red Hat, Inc.
+# Copyright 2005 Tommy Reynolds, MegaCoder.com
###############################################################################
-XSLPDF = ../docs-common/xsl/main-pdf.xsl
-XSLHTML = ../docs-common/xsl/main-html.xsl
-LANG = en
-DOCNAME = example-tutorial-$(LANG)
-XMLFILE = $(DOCNAME).xml
+XSLPDF = ../docs-common/xsl/main-pdf.xsl
+XSLHTML = ../docs-common/xsl/main-html.xsl
+LANG = en
+DOCNAME = example-tutorial-$(LANG)
+XMLFILE = $(DOCNAME).xml
+XMLEXTRAFILES =
######################################################
include ../docs-common/Makefile.common
######################################################
-html:
- @xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE)
- @mkdir -p $(DOCNAME)/stylesheet-images
- @cp ../docs-common/stylesheet-images/*.png $(DOCNAME)/stylesheet-images
- @cp ../docs-common/css/fedora.css $(DOCNAME)
-
-pdf:
- @xmlto pdf -x $(XSLPDF) $(XMLFILE)
-######################################################
-
-clean:
- @rm -rfv *.html *.pdf *.tex $(DOCNAME)
+# 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:
+#${DOCNAME}/index.html::
+# echo FINISHED AT LAST
18 years, 9 months
desktop-up2date Makefile,1.2,1.3
by fedora-docs-commits@redhat.com
Author: elliss
Update of /cvs/docs/desktop-up2date
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21920
Modified Files:
Makefile
Log Message:
Updated for .tar.gz generation
Index: Makefile
===================================================================
RCS file: /cvs/docs/desktop-up2date/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile 14 Jun 2005 22:30:42 -0000 1.2
+++ Makefile 29 Jun 2005 00:45:22 -0000 1.3
@@ -1,7 +1,7 @@
###############################################################################
# Makefile for RHLP docs project
# Created by: Tammy Fox <tfox(a)redhat.com>
-# Last edited by: Tammy Fox <tfox(a)redhat.com>
+# Last edited by: Stuart Ellis <stuart(a)elsn.org>
# WARNING: need passivetex 1.24 for pdf generation to work
# License: GPL
# Copyright 2003 Tammy Fox, Red Hat, Inc.
@@ -14,6 +14,10 @@
XMLFILE = $(DOCNAME).xml
######################################################
+
+include ../docs-common/Makefile.common
+
+######################################################
html:
@xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE)
@mkdir -p $(DOCNAME)/stylesheet-images
@@ -26,4 +30,4 @@
######################################################
clean:
- @rm -rfv *.html *.pdf *.tex $(DOCNAME)
+ @rm -rfv *.html *.pdf *.tex $(DOCNAME) $(DOCNAME).tar.gz
18 years, 9 months
yum-software-management Makefile,1.2,1.3
by fedora-docs-commits@redhat.com
Author: elliss
Update of /cvs/docs/yum-software-management
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21895
Modified Files:
Makefile
Log Message:
Updated for tar.gz generation.
Index: Makefile
===================================================================
RCS file: /cvs/docs/yum-software-management/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile 14 Jun 2005 22:45:38 -0000 1.2
+++ Makefile 29 Jun 2005 00:41:23 -0000 1.3
@@ -1,7 +1,7 @@
###############################################################################
# Makefile for RHLP docs project
# Created by: Tammy Fox <tfox(a)redhat.com>
-# Last edited by: Tammy Fox <tfox(a)redhat.com>
+# Last edited by: Stuart Ellis <stuart(a)elsn.org>
# WARNING: need passivetex 1.24 for pdf generation to work
# License: GPL
# Copyright 2003 Tammy Fox, Red Hat, Inc.
@@ -12,7 +12,8 @@
LANG = en
DOCNAME = yum-software-management-$(LANG)
XMLFILE = $(DOCNAME).xml
-
+######################################################
+include ../docs-common/Makefile.common
######################################################
html:
@xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE)
@@ -26,4 +27,4 @@
######################################################
clean:
- @rm -rfv *.html *.pdf *.tex $(DOCNAME)
+ @rm -rfv *.html *.pdf *.tex $(DOCNAME) $(DOCNAME).tar.gz
18 years, 9 months
mirror-tutorial Makefile,1.2,1.3
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/mirror-tutorial
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19458
Modified Files:
Makefile
Log Message:
Updated Makefile to allow tarball building
Index: Makefile
===================================================================
RCS file: /cvs/docs/mirror-tutorial/Makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile 18 Jun 2005 13:51:02 -0000 1.2
+++ Makefile 28 Jun 2005 22:34:56 -0000 1.3
@@ -14,6 +14,8 @@
XMLFILE = $(DOCNAME).xml
######################################################
+include ../docs-common/Makefile.common
+######################################################
html:
@xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE)
@mkdir -p $(DOCNAME)/stylesheet-images
@@ -26,4 +28,4 @@
######################################################
clean:
- @rm -rfv *.html *.pdf *.tex $(DOCNAME)
+ @rm -rfv *.html *.pdf *.tex $(DOCNAME) $(DOCNAME).tar.gz
18 years, 9 months
stateless-linux Makefile, 1.1, 1.2 stateless-linux-HOWTO-en.xml, 1.5, 1.6
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/stateless-linux
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19423
Modified Files:
Makefile stateless-linux-HOWTO-en.xml
Log Message:
Updated entity file references, and Makefile for tarball building
Index: Makefile
===================================================================
RCS file: /cvs/docs/stateless-linux/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile 13 Sep 2004 17:43:08 -0000 1.1
+++ Makefile 28 Jun 2005 22:33:46 -0000 1.2
@@ -7,18 +7,20 @@
# Copyright 2003 Tammy Fox, Red Hat, Inc.
###############################################################################
-XSLPDF = ../xsl/main-pdf.xsl
-XSLHTML = ../xsl/main-html.xsl
+XSLPDF = ../docs-common/xsl/main-pdf.xsl
+XSLHTML = ../docs-common/xsl/main-html.xsl
LANG = en
DOCNAME = stateless-linux-HOWTO-$(LANG)
XMLFILE = $(DOCNAME).xml
######################################################
+include ../docs-common/Makefile.common
+######################################################
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)
+ @cp ../docs-common/stylesheet-images/*.png $(DOCNAME)/stylesheet-images
+ @cp ../docs-common/css/fedora.css $(DOCNAME)
pdf:
@@ -26,4 +28,4 @@
######################################################
clean:
- @rm -rfv *.html *.pdf *.tex $(DOCNAME)
+ @rm -rfv *.html *.pdf *.tex $(DOCNAME) $(DOCNAME).tar.gz
Index: stateless-linux-HOWTO-en.xml
===================================================================
RCS file: /cvs/docs/stateless-linux/stateless-linux-HOWTO-en.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- stateless-linux-HOWTO-en.xml 30 Sep 2004 20:18:01 -0000 1.5
+++ stateless-linux-HOWTO-en.xml 28 Jun 2005 22:33:46 -0000 1.6
@@ -25,12 +25,12 @@
<!-- Generic entities used by all Fedora documentation -->
-<!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 "Stateless Linux HOWTO (2004-09-13)"> <!-- change version of manual and date here -->
-<!ENTITY LEGALNOTICE SYSTEM "../common/legalnotice-en.xml">
+<!ENTITY LEGALNOTICE SYSTEM "../docs-common/common/legalnotice-en.xml">
]
>
<article>
18 years, 9 months
install-guide Makefile,1.8,1.9
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/install-guide
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19392
Modified Files:
Makefile
Log Message:
Allow tarball building with Makefile.common
Index: Makefile
===================================================================
RCS file: /cvs/docs/install-guide/Makefile,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- Makefile 14 Jun 2005 22:36:46 -0000 1.8
+++ Makefile 28 Jun 2005 22:30:40 -0000 1.9
@@ -14,6 +14,8 @@
XMLFILE = $(DOCNAME).xml
######################################################
+include ../docs-common/Makefile.common
+######################################################
html:
@xmlto html -x $(XSLHTML) -o $(DOCNAME) $(XMLFILE)
@mkdir -p $(DOCNAME)/stylesheet-images
@@ -28,4 +30,4 @@
######################################################
clean:
- @rm -rfv *.html *.pdf *.tex $(DOCNAME)
+ @rm -rfv *.html *.pdf *.tex $(DOCNAME) $(DOCNAME).tar.gz
18 years, 9 months
developer-guide Makefile,1.7,1.8
by fedora-docs-commits@redhat.com
Author: pfrields
Update of /cvs/docs/developer-guide
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv19361
Modified Files:
Makefile
Log Message:
Updated Makefile
Index: Makefile
===================================================================
RCS file: /cvs/docs/developer-guide/Makefile,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- Makefile 21 Nov 2003 22:39:22 -0000 1.7
+++ Makefile 28 Jun 2005 22:28:53 -0000 1.8
@@ -7,22 +7,24 @@
# Copyright 2003 Tammy Fox, Red Hat, Inc.
###############################################################################
-XSLPDF = ../xsl/main-pdf.xsl
-XSLHTML = ../xsl/main-html.xsl
+XSLPDF = ../docs-common/xsl/main-pdf.xsl
+XSLHTML = ../docs-common/xsl/main-html.xsl
LANG = en
DOCNAME = developers-guide-$(LANG)
XMLFILE = $(DOCNAME).xml
-
+
+######################################################
+include ../docs-common/Makefile.common
######################################################
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)
+ @cp ../docs-common/stylesheet-images/*.png $(DOCNAME)/stylesheet-images
+ @cp ../docs-common/css/fedora.css $(DOCNAME)
pdf:
@xmlto pdf -x $(XSLPDF) $(XMLFILE)
######################################################
-
+
clean:
- @rm -rfv *.html *.pdf *.tex $(DOCNAME)
+ @rm -rfv *.html *.pdf *.tex $(DOCNAME) $(DOCNAME).tar.gz
18 years, 9 months