[26951] trunk/doc/guide/Makefile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Jul 13 04:57:06 PDT 2007
Revision: 26951
http://trac.macosforge.org/projects/macports/changeset/26951
Author: afb at macports.org
Date: 2007-07-13 04:57:06 -0700 (Fri, 13 Jul 2007)
Log Message:
-----------
add make target for new guide (make new)
Modified Paths:
--------------
trunk/doc/guide/Makefile
Modified: trunk/doc/guide/Makefile
===================================================================
--- trunk/doc/guide/Makefile 2007-07-13 08:57:13 UTC (rev 26950)
+++ trunk/doc/guide/Makefile 2007-07-13 11:57:06 UTC (rev 26951)
@@ -30,19 +30,24 @@
DOCBOOK_XSL?= ${prefix}/share/xsl/docbook-xsl/
HTMLDIR?= html
XHTMLDIR?= xhtml
+NEWHTMLDIR?= new
STYLESHEET?= ${DOCBOOK_XSL}/html/chunk.xsl
XSTYLESHEET?= ${DOCBOOK_XSL}/xhtml/chunk.xsl
+NEWSTYLESHEET?= ${DOCBOOK_XSL}/xhtml/docbook.xsl
XML_CATALOG_FILES?= ${prefix}/etc/xml/catalog
XML_DEBUG_CATALOG?=
CSS_STYLESHEET?= docbook.css
+NEWCSS_STYLESHEET?= newdocbook.css
RESOURCES?= resources/
STRINGPARAMS?= --stringparam html.stylesheet ${CSS_STYLESHEET} --stringparam chunk.section.depth 0
+NEWSTRINGPARAMS?= --stringparam html.stylesheet ${NEWCSS_STYLESHEET} --stringparam section.autolabel 1
.PHONY : all
.PHONY : clean
#.PHONY : install
.PHONY : html
.PHONY : xhtml
+.PHONY : new
.PHONY : check
.PHONY : tidy
@@ -58,6 +63,11 @@
cp ${RESOURCES}${CSS_STYLESHEET} ${XHTMLDIR}
xsltproc --xinclude ${STRINGPARAMS} -o "${XHTMLDIR}/" "${XSTYLESHEET}" "${SOURCEDIR}/guide.xml"
+new:
+ mkdir -p ${NEWHTMLDIR}
+ cp ${RESOURCES}${NEWCSS_STYLESHEET} ${NEWHTMLDIR}
+ xsltproc --xinclude ${NEWSTRINGPARAMS} -o "${NEWHTMLDIR}/guide.html" "${NEWSTYLESHEET}" "${SOURCEDIR}/newguide.xml"
+
all: html xhtml tidy
tidy:
@@ -69,6 +79,6 @@
-tidy -quiet -modify -indent -xml ${XHTMLDIR}/*
clean:
- rm -fr ${HTMLDIR} ${XHTMLDIR}
+ rm -fr ${HTMLDIR} ${XHTMLDIR} ${NEWHTMLDIR}
include ../../base/Mk/macports.autoconf.mk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070713/e3d5b66a/attachment.html
More information about the macports-changes
mailing list