You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

64 lines
2.6 KiB

excerpt from http://ftp.debian.org/debian/pool/main/n/nant/nant_0.85-2.diff.gz
Index: src/NAnt.Core/Task.cs
--- src/NAnt.Core/Task.cs.orig 2005-10-21 19:13:06 +0200
+++ src/NAnt.Core/Task.cs 2007-09-15 20:46:04 +0200
@@ -400,7 +400,6 @@
#region Protected Instance Methods
/// <summary><note>Deprecated (to be deleted).</note></summary>
- [Obsolete("Deprecated- Use InitializeTask instead")]
protected override void InitializeElement(XmlNode elementNode) {
// Just defer for now so that everything just works
InitializeTask(elementNode);
@@ -415,4 +414,4 @@
#endregion Protected Instance Methods
}
-}
\ No newline at end of file
+}
Index: Makefile
--- Makefile.orig 2005-12-11 09:47:54 +0100
+++ Makefile 2007-09-15 21:18:00 +0200
@@ -40,7 +40,7 @@
rm -fR build bootstrap
install: bootstrap
- $(NANT) -f:NAnt.build install -D:install.prefix="$(prefix)"
+ $(NANT) -f:NAnt.build install-openpkg -D:install.buildroot="$(buildroot)"
run-test: bootstrap
$(NANT) -f:NAnt.build test
Index: NAnt.build
--- NAnt.build.orig 2006-10-14 16:01:34 +0200
+++ NAnt.build 2007-09-15 22:51:30 +0200
@@ -780,7 +780,7 @@
</if>
<property name="install.bindir" value="${path::combine(install.realprefix, 'bin')}"/>
<property name="install.share" value="${path::combine(install.realprefix, 'share')}"/>
- <property name="install.copylocation" value="${path::combine (install.share, 'NAnt')}"/>
+ <property name="install.copylocation" value="${path::combine (install.share, 'nant')}"/>
<property name="prefix" value="${pkg-config::get-variable('mono', 'prefix')}"/>
<echo message="Installing NAnt to '${install.copylocation}' ..." />
@@ -805,6 +805,18 @@
<echo file="${wrapper}" append="true">exec ${path::combine(prefix, 'bin')}/mono ${path::combine(install.copylocation, 'bin')}/NAnt.exe "$@"</echo>
<exec program="chmod" commandline="a+x ${path::combine(install.bindir, 'nant')}"/>
</target>
+
+ <target name="install-openpkg" depends="build">
+ <echo message="Installing NAnt to '${install.buildroot}' ..." />
+ <copy todir="${install.buildroot}/share/nant" overwrite="true">
+ <fileset basedir="${build.dir}">
+ <include name="bin/**/*" />
+ <include name="doc/**/*" />
+ <exclude name="bin/nant.tests.config" />
+ <exclude name="bin/*.Tests.*" />
+ </fileset>
+ </copy>
+ </target>
<target name="rpm" depends="init, build">
<echo message="Build dir: ${build.dir}"/>