[Pkg-cli-apps-commits] r4454 - in /packages/ndoc/trunk/debian: NDoc.build NDoc.build.include changelog rules
directhex-guest at users.alioth.debian.org
directhex-guest at users.alioth.debian.org
Mon Jan 26 23:48:22 UTC 2009
Author: directhex-guest
Date: Mon Jan 26 23:48:22 2009
New Revision: 4454
URL: http://svn.debian.org/wsvn/pkg-cli-apps/?sc=1&rev=4454
Log:
Done.
Dirty hack for build system - please correct if it sucks too hard to stomach
Added:
packages/ndoc/trunk/debian/NDoc.build
packages/ndoc/trunk/debian/NDoc.build.include
Modified:
packages/ndoc/trunk/debian/changelog
packages/ndoc/trunk/debian/rules
Added: packages/ndoc/trunk/debian/NDoc.build
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ndoc/trunk/debian/NDoc.build?rev=4454&op=file
==============================================================================
--- packages/ndoc/trunk/debian/NDoc.build (added)
+++ packages/ndoc/trunk/debian/NDoc.build Mon Jan 26 23:48:22 2009
@@ -1,0 +1,214 @@
+<?xml version="1.0" ?>
+<project name="ndoc" default="compile" xmlnds="http://tempuri.org/nant-vs.xsd">
+ <!-- Global project settings -->
+ <property name="project.name" value="ndoc" />
+ <property name="project.version" value="1.3" />
+ <property name="project.patchversion" value="1" /> <!-- 0 for initial release -->
+ <property name="project.release.type" value="release" /> <!-- dev / alpha / beta# / rc# / release -->
+ <property name="project.build.config" value="release" readonly="false" />
+ <property name="project.build.package" value="false" readonly="false" />
+ <property name="build.number" value="${math::abs(math::floor(timespan::get-total-days(datetime::now() - datetime::parse('01/01/2000'))))}" />
+ <property name="build.dir" value="${nant.project.basedir}/bin" readonly="false" />
+ <!-- Include helpers -->
+ <include buildfile="NDoc.build.include" />
+ <include buildfile="NDoc.build.package" />
+ <!-- Targets that should always be executed -->
+ <call target="set-build-configuration" />
+ <call target="set-framework-configuration" />
+ <!--
+
+ -->
+ <target name="debug" description="Change the build configuration to debug mode.">
+ <call target="set-debug-build-configuration" />
+ </target>
+ <!--
+
+ -->
+ <target name="release" description="Change the build configuration to release mode.">
+ <call target="set-release-build-configuration" />
+ </target>
+ <!--
+
+ -->
+ <target name="compile-build" description="Compile current build configuration for all supports target frameworks">
+ <echo message="Compiling the ${current.build.config} build configuration for all supported target frameworks." />
+ <!--
+ build .NET Framework 1.0 version if both the Framework and SDK are available
+ -->
+ <if test="${framework::exists('net-1.0')}">
+ <if test="${framework::sdk-exists('net-1.0')}">
+ <call target="set-net-1.0-framework-configuration" />
+ <call target="compile" />
+ </if>
+ <if test="${not framework::sdk-exists('net-1.0')}">
+ <if test="${property::exists('project.build.package') and project.build.package}">
+ <fail message="The .NET Framework SDK 1.0 is not available." />
+ </if>
+ <if test="${not property::exists('project.build.package') or not project.build.package}">
+ <echo message="The .NET Framework SDK 1.0 is not available. Build skipped." />
+ </if>
+ </if>
+ </if>
+ <if test="${not framework::exists('net-1.0')}">
+ <if test="${property::exists('project.build.package') and project.build.package}">
+ <fail message="The .NET Framework 1.0 is not available." />
+ </if>
+ <if test="${not property::exists('project.build.package') or not project.build.package}">
+ <echo message="The .NET Framework 1.0 is not available. Build skipped." />
+ </if>
+ </if>
+ <!--
+ build .NET Framework 1.1 version if both Framework and SDK are available
+ -->
+ <if test="${framework::exists('net-1.1')}">
+ <if test="${framework::sdk-exists('net-1.1')}">
+ <call target="set-net-1.1-framework-configuration" />
+ <call target="compile" />
+ </if>
+ <if test="${not framework::sdk-exists('net-1.1')}">
+ <if test="${property::exists('project.build.package') and project.build.package}">
+ <fail message="The .NET Framework SDK 1.1 is not available." />
+ </if>
+ <if test="${not property::exists('project.build.package') or not project.build.package}">
+ <echo message="The .NET Framework SDK 1.1 is not available. Build skipped." />
+ </if>
+ </if>
+ </if>
+ <if test="${not framework::exists('net-1.1')}">
+ <if test="${property::exists('project.build.package') and project.build.package}">
+ <fail message="The .NET Framework 1.1 is not available." />
+ </if>
+ <if test="${not property::exists('project.build.package') or not project.build.package}">
+ <echo message="The .NET Framework 1.1 is not available. Build skipped." />
+ </if>
+ </if>
+ <!--
+ build .NET Framework 2.0 version if both Framework and SDK are available
+ -->
+ <!--
+ <if test="${framework::exists('net-2.0')}">
+ <if test="${framework::sdk-exists('net-2.0')}">
+ <call target="set-net-2.0-framework-configuration" />
+ <call target="compile" />
+ </if>
+ <if test="${not framework::sdk-exists('net-2.0')}">
+ <if test="${property::exists('project.build.package') and project.build.package}">
+ <fail message="The .NET Framework SDK 2.0 is not available." />
+ </if>
+ <if test="${not property::exists('project.build.package') or not project.build.package}">
+ <echo message="The .NET Framework SDK 2.0 is not available. Build skipped." />
+ </if>
+ </if>
+ </if>
+ <if test="${not framework::exists('net-2.0')}">
+ <if test="${property::exists('project.build.package') and project.build.package}">
+ <fail message="The .NET Framework 2.0 is not available." />
+ </if>
+ <if test="${not property::exists('project.build.package') or not project.build.package}">
+ <echo message="The .NET Framework 2.0 is not available. Build skipped." />
+ </if>
+ </if>
+ -->
+ <!--
+ build Mono 2.0 version if both Framework and SDK are available
+ -->
+ <if test="${framework::exists('mono-2.0')}">
+ <if test="${framework::sdk-exists('mono-2.0')}">
+ <call target="set-mono-2.0-framework-configuration" />
+ <call target="compile" />
+ </if>
+ <if test="${not framework::sdk-exists('mono-2.0')}">
+ <if test="${property::exists('project.build.package') and project.build.package}">
+ <fail message="The Mono SDK 2.0 is not available." />
+ </if>
+ <if test="${not property::exists('project.build.package') or not project.build.package}">
+ <echo message="The Mono SDK 2.0 is not available. Build skipped." />
+ </if>
+ </if>
+ </if>
+ <if test="${not framework::exists('mono-2.0')}">
+ <if test="${property::exists('project.build.package') and project.build.package}">
+ <fail message="Mono 2.0 is not available." />
+ </if>
+ <if test="${not property::exists('project.build.package') or not project.build.package}">
+ <echo message="Mono 2.0 is not available. Build skipped." />
+ </if>
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="compile" description="Builds the current build configuration for the current target framework." depends="create-common-assemblyinfo">
+ <!-- ensure the bin dir has been created, and clean it up if needed -->
+ <call target="clean-current-bin-dir" />
+ <!-- copy the ndoc signing key file to the bin dir -->
+ <copy file="${nant.project.basedir}/NDoc.snk" todir="${current.bin.dir}" />
+ <!-- build all projects -->
+ <nant buildfile="src/ExtendedUI/ExtendedUI.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Core/Core.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Console/Console.build" target="compile" inheritall="true" />
+ <nant buildfile="src/VisualStudio/VisualStudio.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Gui/Gui.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Documenter/Msdn/Msdn.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Documenter/Msdn2/Msdn2.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Documenter/JavaDoc/JavaDoc.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Documenter/Latex/Latex.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Documenter/LinearHtml/LinearHtml.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Documenter/NativeHtmlHelp2/NativeHtmlHelp2.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Documenter/Xml/Xml.build" target="compile" inheritall="true" />
+ <nant buildfile="src/Test/Test.build" target="compile" inheritall="true" />
+ <!-- remove the ndoc signing key file -->
+ <delete file="${current.bin.dir}/NDoc.snk" />
+ </target>
+ <!--
+
+ -->
+ <target name="create-common-assemblyinfo">
+ <!-- ensure src/CommonAssemblyInfo.cs is writable if it already exists -->
+ <attrib file="src/CommonAssemblyInfo.cs" readonly="false" if="${file::exists('src/CommonAssemblyInfo.cs')}" />
+ <!-- generate the source file holding the common assembly-level attributes -->
+ <asminfo output="src/CommonAssemblyInfo.cs" language="CSharp">
+ <imports>
+ <import namespace="System" />
+ <import namespace="System.Reflection" />
+ <import namespace="System.Runtime.InteropServices" />
+ </imports>
+ <attributes>
+ <attribute type="ComVisibleAttribute" value="false" />
+ <attribute type="AssemblyConfigurationAttribute" value="${framework::get-target-framework()}.${platform::get-name()}; ${project.release.type}" />
+ <attribute type="AssemblyCompanyAttribute" value="http://ndoc.sourceforge.net" />
+ <attribute type="AssemblyProductAttribute" value="NDoc" />
+ <attribute type="AssemblyCopyrightAttribute" value="" />
+ <attribute type="AssemblyTrademarkAttribute" value="" />
+ <attribute type="AssemblyCultureAttribute" value="" />
+ <attribute type="AssemblyVersionAttribute" value="${project.version}.${build.number}.0" />
+ <attribute type="AssemblyInformationalVersionAttribute" value="${project.version}.${project.patchversion}" />
+ </attributes>
+ </asminfo>
+ </target>
+ <!--
+
+ -->
+ <target name="sdkdoc" description="Builds SDK documentation (based on .NET Framework 1.1 assembly)">
+ <echo message="Creating SDK Documentation for NDoc Core." />
+ <ndoc>
+ <assemblies basedir="${build.dir}/net/1.1">
+ <include name="NDoc.Core.dll" />
+ </assemblies>
+ <documenters>
+ <documenter name="MSDN">
+ <property name="OutputDirectory" value="doc/sdk" />
+ <property name="HtmlHelpName" value="NDoc-SDK" />
+ <property name="Title" value="NDoc ${project.version} SDK" />
+ <property name="ShowVisualBasic" value="True" />
+ <property name="SdkLinksOnWeb" value="True" />
+ <property name="IncludeAssemblyVersion" value="True" />
+ <property name="FeedbackEmailAddress" value="ndoc-helpfeedback at lists.sourceforge.net" />
+ <property name="UseNamespaceDocSummaries" value="True" />
+ <property name="Preliminary" value="${if(project.release.type == 'release','False','True')}" />
+ <property name="DocumentAttributes" value="True" />
+ </documenter>
+ </documenters>
+ </ndoc>
+ </target>
+</project>
Added: packages/ndoc/trunk/debian/NDoc.build.include
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ndoc/trunk/debian/NDoc.build.include?rev=4454&op=file
==============================================================================
--- packages/ndoc/trunk/debian/NDoc.build.include (added)
+++ packages/ndoc/trunk/debian/NDoc.build.include Mon Jan 26 23:48:22 2009
@@ -1,0 +1,359 @@
+<?xml version="1.0" ?>
+<project name="NDoc-helpers" xmlnds="http://tempuri.org/nant-vs.xsd">
+ <target name="check-build-dir">
+ <if test="${not property::exists('build.dir')}">
+ <fail message="The build directory has not been specified." />
+ </if>
+ <mkdir dir="${build.dir}" />
+ </target>
+ <!--
+
+ -->
+ <target name="check-build-debug">
+ <if test="${not property::exists('build.debug')}">
+ <fail message="The build debug setting has not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-build-defines">
+ <if test="${not property::exists('build.defines')}">
+ <fail message="The build defines have not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-build-optimize">
+ <if test="${not property::exists('build.optimize')}">
+ <fail message="The build optimize setting has not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-doc-dir">
+ <if test="${not property::exists('doc.dir')}">
+ <property name="doc.dir" value="doc" readonly="false" />
+ </if>
+ <mkdir dir="${doc.dir}" />
+ </target>
+ <!--
+
+ -->
+ <target name="check-sdkdoc-dir" depends="check-doc-dir">
+ <if test="${not property::exists('sdkdoc.dir')}">
+ <property name="sdkdoc.dir" value="${doc.dir}/sdk" readonly="false" />
+ </if>
+ <mkdir dir="${sdkdoc.dir}" />
+ </target>
+ <!--
+
+ -->
+ <target name="check-sdkdoc-debug">
+ <if test="${not property::exists('sdkdoc.debug')}">
+ <fail message="The sdk documentation debug setting has not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-current-bin-dir">
+ <if test="${not property::exists('current.bin.dir')}">
+ <fail message="The current binaries directory has not been specified." />
+ </if>
+ <mkdir dir="${current.bin.dir}" />
+ </target>
+ <!--
+
+ -->
+ <target name="check-current-build-debug">
+ <if test="${not property::exists('current.build.debug')}">
+ <fail message="The current build debug setting has not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-current-build-defines">
+ <if test="${not property::exists('current.build.defines')}">
+ <fail message="The current build defines for have not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-current-build-optimize">
+ <if test="${not property::exists('current.build.optimize')}">
+ <fail message="The current build optimize setting has not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-current-sdkdoc-dir">
+ <if test="${not property::exists('current.sdkdoc.dir')}">
+ <fail message="The current sdk document directory has not been specified." />
+ </if>
+ <mkdir dir="${sdkdoc.dir}" />
+ </target>
+ <!--
+
+ -->
+ <target name="check-current-sdkdoc-debug">
+ <if test="${not property::exists('current.sdkdoc.debug')}">
+ <fail message="The curernt sdk documentation debug setting has not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-current-build-config">
+ <if test="${not property::exists('current.build.config')}">
+ <if test="${not property::exists('project.build.config')}">
+ <fail message="The build configuration has not been specified and no default build configuration is available." />
+ </if>
+ <if test="${property::exists('project.build.config')}">
+ <property name="current.build.config" value="${project.build.config}" readonly="false" />
+ </if>
+ </if>
+ </target>
+ <!--
+
+ -->
+ <!-- Targets for setting up the environment -->
+ <target name="set-build-configuration" depends="check-current-build-config">
+ <if test="${not target::exists('set-'+current.build.config+'-build-configuration')}">
+ <fail message="The ${current.build.config} build configuration is not supported by NDoc." />
+ </if>
+ <call target="set-${current.build.config}-build-configuration" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-debug-build-configuration">
+ <property name="build.debug" value="true" readonly="false" />
+ <property name="build.defines" value="DEBUG,TRACE" readonly="false" />
+ <property name="build.optimize" value="false" readonly="false" />
+ <property name="sdkdoc.debug" value="false" readonly="false" />
+ <property name="current.build.config" value="debug" readonly="false" />
+ <call target="set-build-configuration-flags" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-release-build-configuration">
+ <property name="build.debug" value="false" readonly="false" />
+ <property name="build.defines" value="TRACE,OFFICIAL_RELEASE" readonly="false" />
+ <property name="build.optimize" value="true" readonly="false" />
+ <property name="sdkdoc.debug" value="false" readonly="false" />
+ <property name="current.build.config" value="release" readonly="false" />
+ <call target="set-build-configuration-flags" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-build-configuration-flags" depends="check-current-build-config">
+ <property name="current.build.config.debug" value="false" readonly="false" />
+ <property name="current.build.config.release" value="false" readonly="false" />
+ <property name="current.build.config.${current.build.config}" value="true" readonly="false" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-framework-configuration">
+ <if test="${not(target::exists('set-'+framework::get-target-framework()+'-framework-configuration'))}">
+ <fail message="The '${framework::get-target-framework()}' framework is not supported by this version of NDoc." />
+ </if>
+ <call target="set-${framework::get-target-framework()}-framework-configuration" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-net-1.0-framework-configuration" depends="check-build-dir, check-current-build-config, check-build-debug, check-build-defines, check-build-optimize">
+ <property name="nant.settings.currentframework" value="net-1.0" />
+ <property name="current.build.debug" value="${build.debug}" dynamic="true" readonly="false" />
+ <property name="current.build.defines" value="${build.defines},NET,NET_1_0" dynamic="true" readonly="false" />
+ <property name="current.build.optimize" value="${build.optimize}" dynamic="true" readonly="false" />
+ <property name="current.bin.dir" value="${build.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.dir" value="${nant.project.basedir}/doc/sdk/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true" readonly="false" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-net-1.1-framework-configuration" depends="check-build-dir, check-current-build-config, check-build-debug, check-build-defines, check-build-optimize">
+ <property name="nant.settings.currentframework" value="net-1.1" />
+ <property name="current.build.debug" value="${build.debug}" dynamic="true" readonly="false" />
+ <property name="current.build.defines" value="${build.defines},NET,NET_1_1" dynamic="true" readonly="false" />
+ <property name="current.build.optimize" value="${build.optimize}" dynamic="true" readonly="false" />
+ <property name="current.bin.dir" value="${build.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.dir" value="${nant.project.basedir}/doc/sdk/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true" readonly="false" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-net-2.0-framework-configuration" depends="check-build-dir, check-current-build-config, check-build-debug, check-build-defines, check-build-optimize">
+ <property name="nant.settings.currentframework" value="net-2.0" />
+ <property name="current.build.debug" value="${build.debug}" dynamic="true" readonly="false" />
+ <property name="current.build.defines" value="${build.defines},NET,NET_2_0" dynamic="true" readonly="false" />
+ <property name="current.build.optimize" value="${build.optimize}" dynamic="true" readonly="false" />
+ <property name="current.bin.dir" value="${build.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.dir" value="${nant.project.basedir}/doc/sdk/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true" readonly="false" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-netcf-1.0-framework-configuration" depends="check-build-dir, check-current-build-config, check-build-debug, check-build-defines, check-build-optimize">
+ <property name="nant.settings.currentframework" value="netcf-1.0" />
+ <property name="current.build.debug" value="${build.debug}" dynamic="true" readonly="false" />
+ <property name="current.build.defines" value="${build.defines},NETCF,NETCF_1_0" dynamic="true" readonly="false" />
+ <property name="current.build.optimize" value="${build.optimize}" dynamic="true" readonly="false" />
+ <property name="current.bin.dir" value="${build.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.dir" value="${nant.project.basedir}/doc/sdk/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true" readonly="false" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-mono-2.0-framework-configuration" depends="check-build-dir, check-current-build-config, check-build-debug, check-build-defines, check-build-optimize">
+ <property name="nant.settings.currentframework" value="mono-2.0" />
+ <property name="current.build.debug" value="${build.debug}" dynamic="true" readonly="false" />
+ <property name="current.build.defines" value="${build.defines},MONO,MONO_2_0" dynamic="true" readonly="false" />
+ <property name="current.build.optimize" value="${build.optimize}" dynamic="true" readonly="false" />
+ <property name="current.bin.dir" value="${build.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.dir" value="${nant.project.basedir}/doc/sdk/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true" readonly="false" />
+ </target>
+ <!--
+
+ -->
+ <target name="set-sscli-1.0-framework-configuration" depends="check-build-dir, check-current-build-config, check-build-debug, check-build-defines, check-build-optimize">
+ <property name="nant.settings.currentframework" value="sscli-1.0" />
+ <property name="current.build.debug" value="${build.debug}" dynamic="true" readonly="false" />
+ <property name="current.build.defines" value="${build.defines},SSCLI,SSCLI_1_0" dynamic="true" readonly="false" />
+ <property name="current.build.optimize" value="${build.optimize}" dynamic="true" readonly="false" />
+ <property name="current.bin.dir" value="${build.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.dir" value="${nant.project.basedir}/doc/sdk/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" dynamic="true" />
+ <property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true" readonly="false" />
+ </target>
+ <!--
+
+ -->
+ <target name="display-current-runtime">
+ <echo message="" />
+ <echo message="----------------------------------------------------------" />
+ <echo message=" ${framework::get-description(framework::get-target-framework())}" />
+ <echo message="----------------------------------------------------------" />
+ <echo message="" />
+ <echo message="framework : ${framework::get-target-framework()}" />
+ <echo message="description : ${framework::get-description(framework::get-target-framework())}" />
+ <echo message="sdk directory : ${framework::get-sdk-directory(framework::get-target-framework())}" />
+ <echo message="framework directory : ${framework::get-framework-directory(framework::get-target-framework())}" />
+ <echo message="assembly directory : ${framework::get-assembly-directory(framework::get-target-framework())}" />
+ <echo message="runtime engine : ${framework::get-runtime-engine(framework::get-target-framework())}" />
+ <echo message="" />
+ </target>
+ <!--
+
+ -->
+ <target name="display-setup" depends="check-htmlhelp-compiler">
+ <!-- .NET Framework 1.0 -->
+ <if test="${not framework::exists('net-1.0')}">
+ <echo message=".NET Framework 1.0 runtime is not available." />
+ </if>
+ <if test="${framework::exists('net-1.0')}">
+ <property name="nant.settings.currentframework" value="net-1.0" />
+ <call target="display-current-runtime" />
+ </if>
+ <!-- .NET Framework 1.1 -->
+ <if test="${not framework::exists('net-1.1')}">
+ <echo message=".NET Framework 1.1 runtime is not available." />
+ </if>
+ <if test="${framework::exists('net-1.1')}">
+ <property name="nant.settings.currentframework" value="net-1.1" />
+ <call target="display-current-runtime" />
+ </if>
+ <!-- .NET Framework 2.0 -->
+ <if test="${not framework::exists('net-2.0')}">
+ <echo message=".NET Framework 2.0 runtime is not available." />
+ </if>
+ <if test="${framework::exists('net-2.0')}">
+ <property name="nant.settings.currentframework" value="net-2.0" />
+ <call target="display-current-runtime" />
+ </if>
+ <!-- Mono 1.0 -->
+ <if test="${not framework::exists('mono-1.0')}">
+ <echo message="Mono 1.0 runtime is not available." />
+ </if>
+ <if test="${framework::exists('mono-1.0')}">
+ <property name="nant.settings.currentframework" value="mono-1.0" />
+ <call target="display-current-runtime" />
+ </if>
+ <!-- SSCLI 1.0 -->
+ <if test="${not framework::exists('sscli-1.0')}">
+ <echo message="SSCLI 1.0 runtime is not available." />
+ </if>
+ <if test="${framework::exists('sscli-1.0')}">
+ <property name="nant.settings.currentframework" value="sscli-1.0" />
+ <call target="display-current-runtime" />
+ </if>
+ <!-- HTML Help Compiler -->
+ <echo message="" />
+ <echo message="----------------------------------------------------------" />
+ <echo message="" />
+ <echo message="htmlhelp.compiler: ${htmlhelp.compiler}" />
+ <echo message="" />
+ </target>
+ <!-- Targets that check settings -->
+ <target name="check-project-version">
+ <if test="${not property::exists('project.version')}">
+ <fail message="A project version has not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-current-package-zipfile">
+ <if test="${not property::exists('current.package.zipfile')}">
+ <fail message="The current package zipfile has not been specified." />
+ </if>
+ </target>
+ <!--
+
+ -->
+ <target name="check-htmlhelp-compiler">
+ <if test="${not property::exists('htmlhelp.compiler')}">
+ <readregistry property="htmlhelp.workshop.installroot" key="SOFTWARE\Microsoft\HTML Help Workshop\InstallDir"
+ hive="CurrentUser" failonerror="false" />
+ <if test="${property::exists('htmlhelp.workshop.installroot')}">
+ <property name="htmlhelp.compiler" value="${htmlhelp.workshop.installroot}/hhc.exe" readonly="false" />
+ </if>
+ </if>
+ <if test="${not property::exists('htmlhelp.compiler')}">
+ <sysinfo />
+ <property name="htmlhelp.compiler" value="${sys.os.folder.programfiles}/HTML Help Worshop/hhc.exe"
+ readonly="false" />
+ </if>
+ </target>
+ <!--
+ clean-up targets
+ -->
+ <target name="clean-current-bin-dir" description="Checks the current bin directory and cleans it up.">
+ <call target="check-current-bin-dir" />
+ <delete>
+ <fileset basedir="${current.bin.dir}">
+ <include name="**/*" />
+ </fileset>
+ </delete>
+ </target>
+ <!--
+
+ -->
+ <target name="clean-build-dir" depends="check-build-dir" description="Deletes current build configuration.">
+ <delete dir="${build.dir}" />
+ </target>
+</project>
Modified: packages/ndoc/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ndoc/trunk/debian/changelog?rev=4454&op=diff
==============================================================================
--- packages/ndoc/trunk/debian/changelog (original)
+++ packages/ndoc/trunk/debian/changelog Mon Jan 26 23:48:22 2009
@@ -18,9 +18,14 @@
+ Set nant target to mono-2.0
[ Jo Shields ]
+ * debian/NDoc.build,
+ debian/NDoc.build.include:
+ + Replace references to Mono 1.0 with Mono 2.0, as NDoc has a hard-coded
+ list of supported runtimes (and CLI 2.0 on Mono is not one of them)
* debian/rules:
+ Fix get-orig-source to correctly create a versioned directory, and clean
up afterwards
+ + Inject fixed build files into orig
* debian/libndoc1.3-cil.install,
debian/ndoc-console.install:
+ Install from 2.0 dir, not 1.0 dir
Modified: packages/ndoc/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-cli-apps/packages/ndoc/trunk/debian/rules?rev=4454&op=diff
==============================================================================
--- packages/ndoc/trunk/debian/rules (original)
+++ packages/ndoc/trunk/debian/rules Mon Jan 26 23:48:22 2009
@@ -68,6 +68,7 @@
mkdir -p ndoc-$(CURVER)
tar zxvf ../tarballs/ndoc_$(CURVER).orig.tar.gz -C ndoc-$(CURVER)
rm -rf ndoc-$(CURVER)/bin/
+ cp debian/NDoc.build* ndoc-$(CURVER)/
tar cf ndoc_$(CURVER).orig.tar ndoc-$(CURVER)/
gzip -9 ndoc_$(CURVER).orig.tar
rm -r ndoc-$(CURVER)
More information about the Pkg-cli-apps-commits
mailing list