Fix publishing of Config Reference and Install Guides

The patch I4a11d74d3e53738d33b8ba9b50119bb1c25a1aec broke
publishing of these guides, revert parts of the change as
stop-gap.

Change-Id: Ie0860ae446e023b9b39a622bf0861910639cfb39
This commit is contained in:
Andreas Jaeger 2014-01-28 09:39:50 +01:00
parent 41c1a82ae2
commit 0227a30bca
2 changed files with 22 additions and 2 deletions

View File

@ -55,7 +55,8 @@
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<sectionLabelIncludesComponentLabel>0</sectionLabelIncludesComponentLabel>
<webhelpDirname>${release.path.name}/config-reference</webhelpDirname>
<targetDirectory>${basedir}/target/docbkx/webhelp/${release.path.name}/config-reference</targetDirectory>
<webhelpDirname>/</webhelpDirname>
<pdfFilenameBase>config-reference-${release.path.name}</pdfFilenameBase>
</configuration>
</execution>

View File

@ -58,11 +58,30 @@
<sectionAutolabel>0</sectionAutolabel>
<tocSectionDepth>1</tocSectionDepth>
<formalProcedures>0</formalProcedures>
<webhelpDirname>${release.path.name}/install-guide/install/${operating.system}</webhelpDirname>
<targetDirectory>${basedir}/target/docbkx/webhelp/${release.path.name}/install-guide/install</targetDirectory>
<webhelpDirname>${operating.system}</webhelpDirname>
<includeDateInPdfFilename>0</includeDateInPdfFilename>
<pdfFilenameBase>openstack-install-guide-${operating.system}-${release.path.name}</pdfFilenameBase>
</configuration>
</execution>
<execution>
<id>cleanup</id>
<goals>
<goal>generate-webhelp</goal>
</goals>
<phase>generate-sources</phase>
<configuration>
<includes>dummy.xml</includes>
<postProcess>
<delete includeemptydirs="true" verbose="true">
<fileset dir="${basedir}/target/docbkx/webhelp/${release.path.name}" >
<include name="**/*"/>
<exclude name="install-guide/install/**"/>
</fileset>
</delete>
</postProcess>
</configuration>
</execution>
</executions>
<configuration>
<glossaryCollection>${basedir}/../glossary/glossary-terms.xml</glossaryCollection>