httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject svn commit: r1563872 - /httpd/docs-build/trunk/build.xml
Date Mon, 03 Feb 2014 13:09:28 GMT
Author: nd
Date: Mon Feb  3 13:09:28 2014
New Revision: 1563872

URL: http://svn.apache.org/r1563872
Log:
remove empty directories reliably from offline packages

Modified:
    httpd/docs-build/trunk/build.xml

Modified: httpd/docs-build/trunk/build.xml
URL: http://svn.apache.org/viewvc/httpd/docs-build/trunk/build.xml?rev=1563872&r1=1563871&r2=1563872&view=diff
==============================================================================
--- httpd/docs-build/trunk/build.xml (original)
+++ httpd/docs-build/trunk/build.xml Mon Feb  3 13:09:28 2014
@@ -700,16 +700,18 @@
             <fileset dir="../@{dir}/@{lang}"
                 includes="**/*.xml **/*${inputext.@{lang}}
                           **/*.xml.meta
-                          style/chm style/chm/**/*
-                          style/lang style/lang/**/*
-                          style/man style/man/**/*
-                          style/w3c style/w3c/**/*
-                          style/xsl style/xsl/**/*
-                          style/zip style/zip/**/*
-                          style/latex style/latex/**/*
+                          style/chm/**/*
+                          style/lang/**/*
+                          style/man/**/*
+                          style/w3c/**/*
+                          style/xsl/**/*
+                          style/zip/**/*
+                          style/latex/**/*
                           style/*.dtd style/*.xsl style/*.xml
-                          style/_generated style/_generated/**/*
+                          style/_generated/**/*
+                          style/scripts/MINIFY
                           style/build.properties
+                          style/version.ent
                           images/apache_header*
                           images/favicon.ico
                           images/home* images/index*
@@ -717,6 +719,15 @@
                           **/.*
                          "/>
         </delete>
+
+        <delete includeemptydirs="true">
+            <fileset dir="../@{dir}/@{lang}">
+                <and>
+                    <size value="0" />
+                    <type type="dir" />
+                </and>
+            </fileset>
+        </delete>
         </then></if>
     </sequential>
 </macrodef>



Mime
View raw message