httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject svn commit: r1242956 - /httpd/docs-build/trunk/build.xml
Date Fri, 10 Feb 2012 22:04:53 GMT
Author: nd
Date: Fri Feb 10 22:04:52 2012
New Revision: 1242956

URL: http://svn.apache.org/viewvc?rev=1242956&view=rev
Log:
load manpage assignments from property file

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=1242956&r1=1242955&r2=1242956&view=diff
==============================================================================
--- httpd/docs-build/trunk/build.xml (original)
+++ httpd/docs-build/trunk/build.xml Fri Feb 10 22:04:52 2012
@@ -439,25 +439,16 @@
         <!-- <runtarget target="metafiles" /> -->
         <dependencies.nroff lang="@{lang}" />
 
-        <!-- iterate over all (8) files -->
-        <nroff.generic.loop lang="@{lang}" section="8"
-                files="apachectl${inputext.@{lang}}
-                       httpd${inputext.@{lang}}
-                       htcacheclean${inputext.@{lang}}
-                       rotatelogs${inputext.@{lang}}
-                       suexec${inputext.@{lang}}"/>
-
-        <!-- iterate over all (1) files -->
-        <nroff.generic.loop lang="@{lang}" section="1"
-                files="ab${inputext.@{lang}}
-                       apxs${inputext.@{lang}}
-                       dbmmanage${inputext.@{lang}}
-                       firehose${inputext.@{lang}}
-                       htdbm${inputext.@{lang}}
-                       htdigest${inputext.@{lang}}
-                       htpasswd${inputext.@{lang}}
-                       httxt2dbm${inputext.@{lang}}
-                       logresolve${inputext.@{lang}}"/>
+        <for param="section" list="1, 8" trim="true">
+            <sequential>
+                <for param="file" list="${ap.manpages.@{section}}" delimiter=" " trim="true">
+                    <sequential>
+                        <nroff.generic.loop lang="@{lang}" section="@{section}"
+                            files="@{file}${inputext.@{lang}}" />
+                    </sequential>
+                </for>
+            </sequential>
+        </for>
 
         <!-- cleanup -->
         <delete>



Mime
View raw message