Explorar o código

Fixed images path

Carlos Sanchez %!s(int64=21) %!d(string=hai) anos
pai
achega
3d215ff0ae
Modificáronse 1 ficheiros con 28 adicións e 5 borrados
  1. 28 5
      doc/maven.xml

+ 28 - 5
doc/maven.xml

@@ -1,3 +1,23 @@
+<!--
+ * ========================================================================
+ * 
+ * Copyright 2004 Acegi Technology Pty Limited
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ * 
+ * ========================================================================
+-->
+
 <project
    xmlns:j="jelly:core"
    xmlns:ant="jelly:ant"
@@ -19,16 +39,19 @@
             <!-- use a custom fo stylesheet -->
             <move file="${maven.sdocbook.stylesheets.dir}/fo/docbook.xsl"
                 tofile="${maven.sdocbook.stylesheets.dir}/fo/docbook-bak.xsl"/>
-            <copy file="${maven.sdocbook.src.dir}/styles/fo/docbook.xsl"
-                todir="${maven.sdocbook.stylesheets.dir}/fo"/>
+            <copy todir="${maven.sdocbook.stylesheets.dir}/fo">
+                <fileset dir="${maven.sdocbook.src.dir}/styles/fo"/>
+            </copy>
 
             <!-- use a custom html stylesheet -->
             <move file="${maven.sdocbook.stylesheets.dir}/html/docbook.xsl"
                 tofile="${maven.sdocbook.stylesheets.dir}/html/docbook-bak.xsl"/>
-            <copy file="${maven.sdocbook.src.dir}/styles/html/docbook.xsl"
-                todir="${maven.sdocbook.stylesheets.dir}/html"/>
+            <copy todir="${maven.sdocbook.stylesheets.dir}/html">
+                <fileset dir="${maven.sdocbook.src.dir}/styles/html"/>
+            </copy>
 
-            <copy todir="${maven.sdocbook.stylesheets.dir}">
+            <!-- copy images -->
+            <copy todir="${maven.sdocbook.stylesheets.dir}/images">
                 <fileset dir="${maven.sdocbook.src.dir}/images"/>
             </copy>
         </j:if>