Remove text chunks support. Was never built by any of the main targets,
authorJelmer Vernooij <jelmer@samba.org>
Fri, 1 May 2009 21:10:59 +0000 (23:10 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Fri, 1 May 2009 23:15:26 +0000 (01:15 +0200)
and one of the reasons the complex dependency system exists.

docs-xml/Makefile
docs-xml/xslt/generate-dependencies.xsl

index 68890306ed6250474a1f253c5af7575b83641ad5..c177ba721b882b0557ec3409b143e078e7daa539 100644 (file)
@@ -69,7 +69,6 @@ clean::
 pdf:: $(patsubst %,$(PDFDIR)/%.pdf,$(MAIN_DOCS))
 ps:: $(patsubst %,$(PSDIR)/%.ps,$(MAIN_DOCS))
 txt:: $(patsubst %,$(TXTDIR)/%.txt,$(MAIN_DOCS))
-txt-chunks:: $(addsuffix -txt-chunks,$(MAIN_DOCS))
 tex:: $(addsuffix .tex,$(MAIN_DOCS))
 texi:: $(patsubst %,$(TEXINFODIR)/%.texi,$(MAIN_DOCS))
 texiinfo:: $(patsubst %,$(TEXINFODIR)/%.info,$(MAIN_DOCS))
index cf4e4206f9c054e6088e9b6b374cb631c6013d37..2fe3dd0dc942975302d1377d3178c308ff93291c 100644 (file)
@@ -5,7 +5,6 @@
 
        - $(FNAME)-images-latex-{png,eps,pdf} for role=latex
        - $(FNAME)-images-role for all other roles
-       - $(TXTDIR)/$(FNAME)-text 
 
        (C) Jelmer Vernooij     2004-2005
 
@@ -23,7 +22,6 @@
                <xsl:call-template name="generate-images">
                        <xsl:with-param name="role"/>
                </xsl:call-template>
-               <xsl:call-template name="generate-txt-chunks"/>
        </xsl:template>
 
        <xsl:template name="generate-images">
                </xsl:for-each>
                <xsl:text>&#10;</xsl:text>
        </xsl:template>
-
-       <xsl:template name="generate-txt-chunks">
-               <xsl:value-of select="$target"/><xsl:text>-txt-chunks: </xsl:text>
-               <xsl:for-each select="(//chapter|//preface|//appendix)[@id]|book">
-                       <xsl:value-of select="$txtbasedir"/>
-                       <xsl:choose>
-                               <xsl:when test="name() = 'book'">
-                                       <xsl:text>index</xsl:text>
-                               </xsl:when>
-                               <xsl:when test="@id != ''">
-                                       <xsl:value-of select="@id"/>
-                               </xsl:when>
-                       </xsl:choose>
-                       <xsl:text>.txt </xsl:text>
-               </xsl:for-each>
-               <xsl:text>&#10;</xsl:text>
-       </xsl:template>
 </xsl:stylesheet>