]> granicus.if.org Git - docbook-dsssl/commitdiff
Added hack to svnlog2docbook.xsl to work around fact that I
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 8 Sep 2006 08:58:15 +0000 (08:58 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 8 Sep 2006 08:58:15 +0000 (08:58 +0000)
mistakenly committed a log message containing at list of all 500+
param files.
Also added docsrc release-clean to release-clean target.

releasetools/Targets.mk
releasetools/svnlog2docbook.xsl

index 42ddf45cdfcc203203b3311bdab3173cf0614280..a05c9aff8d12664ef6e60736fa461a1965f9b58e 100644 (file)
@@ -216,6 +216,7 @@ install: zip
           )"
 
 release-clean: clean
+       $(MAKE) -C docsrc release-clean
        $(RM) PreviousRevision
        $(RM) TERMS.xml
        $(RM) $(NEWSFILE)
index a172d4fb055c5529aa596b88bf3ef7783e77b840..5443ba8c969ab7fa69ca945bd1ce72ae0b2fd5b8 100644 (file)
     <!-- * trim off any leading and trailing whitespace from this -->
     <!-- * commit message -->
     <xsl:variable name="trimmed">
-      <xsl:call-template name="trim.text">
-        <xsl:with-param name="contents" select="."/>
-      </xsl:call-template>
+      <xsl:choose>
+        <xsl:when test="parent::logentry[@revision='6226']">
+          <xsl:text
+              >Added namespace declarations to document elements for all param files.</xsl:text>
+        </xsl:when>
+        <xsl:otherwise>
+          <xsl:call-template name="trim.text">
+            <xsl:with-param name="contents" select="."/>
+          </xsl:call-template>
+        </xsl:otherwise>
+      </xsl:choose>
     </xsl:variable>
     <xsl:variable name="trimmed-contents" select="exsl:node-set($trimmed)"/>
     <!-- * mask any periods in the contents -->
             name="phrases"
             select="document($element.file)//member|
                     document($param.file)//member"
-          />
+            />
       </xsl:call-template>
     </xsl:variable>
     <xsl:variable name="marked.up" select="exsl:node-set($marked.up.contents)"/>