Skip to content

Commit

Permalink
Improve preprocess2 target descriptions
Browse files Browse the repository at this point in the history
Signed-off-by: Jarno Elovirta <[email protected]>
  • Loading branch information
jelovirt committed Oct 27, 2023
1 parent 3d59bd6 commit aa9e19a
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/main/plugins/org.dita.base/build_preprocess2_template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ See the accompanying LICENSE file for applicable license.

<target name="preprocess2"
dita:extension="depends org.dita.dost.platform.InsertDependsAction"
description="Preprocess"
description="Map-first preprocessing"
dita:depends="{depend.preprocess.pre},
preprocess2.init,
ditaval-merge,
Expand All @@ -28,6 +28,7 @@ See the accompanying LICENSE file for applicable license.
{depend.preprocess.post}"/>

<target name="preprocess2.maps"
description="Map-first preprocessing map steps"
depends="map-reader,
map-mapref,
map-reader-profile,
Expand All @@ -38,6 +39,7 @@ See the accompanying LICENSE file for applicable license.
map-profile"/>

<target name="preprocess2.topics"
description="Map-first preprocessing topic steps"
depends="topic-reader,
topic-branch-filter,
topic-map-conref,
Expand All @@ -54,7 +56,7 @@ See the accompanying LICENSE file for applicable license.

<target name="preprocess2-topic"
dita:extension="depends org.dita.dost.platform.InsertDependsAction"
description="Preprocess topic"
description="Map-first preprocess for topic input"
dita:depends="{depend.preprocess.pre},
preprocess2.init,
ditaval-merge,
Expand All @@ -72,7 +74,8 @@ See the accompanying LICENSE file for applicable license.
copy-files2,
{depend.preprocess.post}"/>

<target name="preprocess2.init">
<target name="preprocess2.init"
description="Initialize map-first preprocessing">
<dita-ot-fail id="DOTA002F">
<condition>
<not><isset property="args.input"/></not>
Expand Down Expand Up @@ -130,7 +133,7 @@ See the accompanying LICENSE file for applicable license.
</target>

<target name="map-reader"
description="Generate lists, debug, and filter input map files">
description="Read input map files to temporary store">
<pipeline message="Generate maps" taskname="map-reader"
inputmap="${args.input}">
<module class="org.dita.dost.module.reader.MapReaderModule">
Expand Down Expand Up @@ -260,7 +263,7 @@ See the accompanying LICENSE file for applicable license.
</target>

<target name="topic-reader"
description="Generate file list">
description="Read topic files to temporary store">
<pipeline message="Generate topics" taskname="topic-reader"
inputmap="${args.input}">
<module class="org.dita.dost.module.reader.TopicReaderModule">
Expand Down

0 comments on commit aa9e19a

Please sign in to comment.