[Pkg-awstats-commits] [awstats] 06/11: Add patch with build.xml

Sergey Kirpichev sk-guest at alioth.debian.org
Thu Oct 17 22:28:36 UTC 2013


This is an automated email from the git hooks/post-receive script.

sk-guest pushed a commit to branch master
in repository awstats.

commit 545aff56b01b004ea777041c787b2ab6a4779b25
Author: Sergey B Kirpichev <skirpichev at gmail.com>
Date:   Mon Oct 7 15:38:22 2013 +0400

    Add patch with build.xml
---
 debian/build.xml                    |   35 ---------------------------
 debian/patches/2004_build.xml.patch |   45 +++++++++++++++++++++++++++++++++++
 debian/patches/series               |    1 +
 3 files changed, 46 insertions(+), 35 deletions(-)

diff --git a/debian/build.xml b/debian/build.xml
deleted file mode 100644
index 3b107ee..0000000
--- a/debian/build.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project name="awgraphapplet" basedir="../wwwroot/classes" default="build">
-
-  <target name="init">
-    <property name="name" value="awgraphapplet"/>
-    <property name="version" value="0"/>
-    <property name="target.dir" value="."/>
-    <property name="debug" value="true"/>
-  </target>
-
-  <target name="all" depends="build,bin-jar"/>
-
-  <target name="dist" depends="clean,all" description="builds a distribution"/>
-
-  <target name="build" depends="compile" description="build binaries"/>
-
-  <target name="compile">
-    <javac srcdir="src" debug="${debug}" source="1.5" target="1.5"/>
-  </target>
-
-  <target name="clean" depends="init" description="clean up">
-    <delete>
-      <fileset dir="src" includes="*.class"/>
-    </delete>
-    <delete dir="${name}${version}"/>
-  </target>
-
-  <target name="bin-jar" depends="init,build" description="package binaries">
-    <jar jarfile="${target.dir}/${name}${version}.jar">
-      <fileset dir="src" includes="*.class"/>
-    </jar>
-  </target>
-
-</project>
diff --git a/debian/patches/2004_build.xml.patch b/debian/patches/2004_build.xml.patch
new file mode 100644
index 0000000..b73e485
--- /dev/null
+++ b/debian/patches/2004_build.xml.patch
@@ -0,0 +1,45 @@
+Description: Ant config
+Author: Jonas Smedegaard <dr at jones.dk>
+
+---
+ wwwroot/classes/build.xml |   35 +++++++++++++++++++++++++++++++++++
+ 1 file changed, 35 insertions(+)
+
+--- /dev/null
++++ b/wwwroot/classes/build.xml
+@@ -0,0 +1,35 @@
++<?xml version="1.0" encoding="UTF-8"?>
++
++<project name="awgraphapplet" basedir="../wwwroot/classes" default="build">
++
++  <target name="init">
++    <property name="name" value="awgraphapplet"/>
++    <property name="version" value="0"/>
++    <property name="target.dir" value="."/>
++    <property name="debug" value="true"/>
++  </target>
++
++  <target name="all" depends="build,bin-jar"/>
++
++  <target name="dist" depends="clean,all" description="builds a distribution"/>
++
++  <target name="build" depends="compile" description="build binaries"/>
++
++  <target name="compile">
++    <javac srcdir="src" debug="${debug}" source="1.5" target="1.5"/>
++  </target>
++
++  <target name="clean" depends="init" description="clean up">
++    <delete>
++      <fileset dir="src" includes="*.class"/>
++    </delete>
++    <delete dir="${name}${version}"/>
++  </target>
++
++  <target name="bin-jar" depends="init,build" description="package binaries">
++    <jar jarfile="${target.dir}/${name}${version}.jar">
++      <fileset dir="src" includes="*.class"/>
++    </jar>
++  </target>
++
++</project>
diff --git a/debian/patches/series b/debian/patches/series
index b9ec20c..27e0098 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
 2001_awstatsprog_path.patch
 2002_nboflastupdatelookuptosave.patch
 2003_awstats.conf.patch
+2004_build.xml.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/awstats.git



More information about the Pkg-awstats-commits mailing list