Skip to content

Commit

Permalink
build: separate copying of help images from copy that applies token r…
Browse files Browse the repository at this point in the history
…eplacement
  • Loading branch information
bwbohl committed Dec 19, 2024
1 parent 353f83a commit 2068ce9
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
<include name="data/xslt/tei/Stylesheets/common/"/>
<include name="data/xslt/tei/Stylesheets/VERSION"/>
<include name="help/**"/>
<exclude name="help/images/">
<!-- exclude help images here because the below filterset
would alter their contents and render them unreadable.
Will be copied in anoter copy statement without filterset. -->
</exclude>
<include name="index/**"/>
</fileset>
<fileset dir="${basedir}">
Expand All @@ -44,6 +49,13 @@
<filter token="repo.target" value="${repo.target}"/>
</filterset>
</copy>
<copy todir="${build.dir}" preservelastmodified="true">
<!-- copy help images in separate copy statement because above filterset
would modify their contents and render them unreadable -->
<fileset dir="${basedir}/add">
<include name="help/images/"/>
</fileset>
</copy>
<copy file="${build.dir}/resources/pix/ViFE-logo-small-144x144-trans.png" tofile="${build.dir}/icon.png" overwrite="true"/>
<copy file="${basedir}/CITATION.cff" tofile="${build.dir}/resources/CITATION.cff" overwrite="true"/>
</target>
Expand Down

0 comments on commit 2068ce9

Please sign in to comment.