Skip to content

Commit a460f7b

Browse files
authored
Merge pull request #1 from thendarion/clean_redundant_code
clean redundant code
2 parents 853b99b + ef51060 commit a460f7b

2 files changed

Lines changed: 1 addition & 42 deletions

File tree

process_css_extend.xml

Lines changed: 0 additions & 35 deletions
This file was deleted.

process_css_extend_template.xml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
<mkdir dir="${dita.temp.dir}"/>
88
<tempfile deleteonexit="true" destdir="${dita.temp.dir}" property="extend.css.file" suffix=".css"/>
99
<touch file="${extend.css.file}"/>
10-
<condition property="is.html">
11-
<equals arg1="${out.ext}" arg2=".html"/>
12-
</condition>
13-
<condition property="is.html">
14-
<equals arg1="${out.ext}" arg2=".htm"/>
15-
</condition>
1610
</target>
1711

1812
<target name="extend.css.copy" >
@@ -27,7 +21,7 @@
2721
</condition>
2822
<property name="user.csspath" value="${args.csspath}/"/>
2923

30-
<copy if:set="is.html" tofile="${output.dir}/${user.csspath}/common-extended.css" file="${extend.css.file}"/>
24+
<copy tofile="${output.dir}/${user.csspath}/common-extended.css" file="${extend.css.file}"/>
3125
</target>
3226

3327
<target name="extend.css"

0 commit comments

Comments
 (0)