add sourceforge logo to pirum html file
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@721 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
19bcf4933f
commit
71aaf514b1
40
build.xml
40
build.xml
@ -7,6 +7,7 @@
|
|||||||
tagging a release, running unit tests etc.
|
tagging a release, running unit tests etc.
|
||||||
-->
|
-->
|
||||||
<property file="build.properties" />
|
<property file="build.properties" />
|
||||||
|
<property file="html.properties" />
|
||||||
|
|
||||||
<property name="version-m" value="0.97" />
|
<property name="version-m" value="0.97" />
|
||||||
<property name="version" value="0.97.0" />
|
<property name="version" value="0.97.0" />
|
||||||
@ -239,7 +240,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<target name="deploy-sf-pear" depends="check,package"
|
<target name="deploy-sf-pear" depends="check"
|
||||||
description="Update PEAR channel on sourceforge"
|
description="Update PEAR channel on sourceforge"
|
||||||
>
|
>
|
||||||
<available file="${websitedir}"
|
<available file="${websitedir}"
|
||||||
@ -255,25 +256,50 @@
|
|||||||
2. update channel with pirum update
|
2. update channel with pirum update
|
||||||
3. rsync to sourceforge
|
3. rsync to sourceforge
|
||||||
-->
|
-->
|
||||||
<exec
|
<!--<exec
|
||||||
command="rsync --include-from=.rsync-include-files --delete -avP -e ssh ${sfuser},${sfproject}@web.sourceforge.net:htdocs/ ."
|
command="rsync - -include-from=.rsync-include-files - -delete -avP -e ssh ${sfuser},${sfproject}@web.sourceforge.net:htdocs/ ."
|
||||||
dir="${websitedir}"
|
dir="${websitedir}"
|
||||||
escape="false" checkreturn="false"
|
escape="false" checkreturn="false"
|
||||||
passthru="true"
|
passthru="true"
|
||||||
/>
|
/>-->
|
||||||
|
|
||||||
<exec
|
<exec
|
||||||
command="pirum add ${websitedir} ${distpkgfile}"
|
command="pirum add ${websitedir} ${distpkgfile}"
|
||||||
passthru="true"
|
passthru="true"
|
||||||
/>
|
/>
|
||||||
|
<!-- fix the generated html -->
|
||||||
|
<!-- yes, we need to generate a 2nd file and move it back -->
|
||||||
|
<copy file="${websitedir}/index.html" tofile="${websitedir}/pirum.html" overwrite="true">
|
||||||
|
<filterchain>
|
||||||
|
<replaceregexp>
|
||||||
|
<!-- make meta links relative -->
|
||||||
|
<regexp
|
||||||
|
pattern="href="http://semanticscuttle.sourceforge.net/"
|
||||||
|
replace="href=""
|
||||||
|
/>
|
||||||
|
<!-- add sourceforge logo -->
|
||||||
|
<regexp
|
||||||
|
pattern="powered by "
|
||||||
|
replace="powered by ${html.sflogo} and "
|
||||||
|
/>
|
||||||
|
</replaceregexp>
|
||||||
|
</filterchain>
|
||||||
|
</copy>
|
||||||
|
<!--<move file="${websitedir}/pirum.html" tofile="${websitedir}/index.html" overwrite="true" />-->
|
||||||
|
<!-- add our custom css -->
|
||||||
|
<append
|
||||||
|
destFile="${websitedir}/pirum.css"
|
||||||
|
file="${websitedir}/pirum-custom.css"
|
||||||
|
/>
|
||||||
|
|
||||||
<!-- rsync always returns code 23 on sourceforge releases, so we
|
<!-- rsync always returns code 23 on sourceforge releases, so we
|
||||||
can't check return values -->
|
can't check return values -->
|
||||||
<exec
|
<!--<exec
|
||||||
command="rsync --include-from=.rsync-include-files -avP -e ssh . ${sfuser},${sfproject}@web.sourceforge.net:htdocs/"
|
command="rsync - -include-from=.rsync-include-files -avP -e ssh . ${sfuser},${sfproject}@web.sourceforge.net:htdocs/"
|
||||||
dir="${websitedir}"
|
dir="${websitedir}"
|
||||||
escape="false" checkreturn="false"
|
escape="false" checkreturn="false"
|
||||||
passthru="true"
|
passthru="true"
|
||||||
/>
|
/>-->
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
|
||||||
|
1
html.properties
Normal file
1
html.properties
Normal file
@ -0,0 +1 @@
|
|||||||
|
html.sflogo = <a href="http://sourceforge.net/projects/semanticscuttle"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=211356&type=10" width="80" height="15" alt="Get SemanticScuttle at SourceForge.net. Fast, secure and Free Open Source software downloads" /></a>
|
Loading…
Reference in New Issue
Block a user