r806 - in /trunk: boinc-app-seti/debian/rules boinc/debian/rules
Steffen Moeller
steffen_moeller at gmx.de
Tue Jan 1 22:24:42 UTC 2008
Lovely!
Steffen
fst at users.alioth.debian.org wrote:
> Author: fst
> Date: Tue Jan 1 18:22:16 2008
> New Revision: 806
>
> URL: http://svn.debian.org/wsvn/pkg-boinc/?sc=1&rev=806
> Log:
> Made origDir a conditional variable so that it can be overriden from the
> environment. Now both of these command lines work as expected:
>
> $ . .svn/deb-layout; export origDir; debian/rules get-orig-source
> $ debian/rules get-orig-source `cat .svn/deb-layout`
>
>
> Modified:
> trunk/boinc-app-seti/debian/rules
> trunk/boinc/debian/rules
>
> Modified: trunk/boinc-app-seti/debian/rules
> URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc-app-seti/debian/rules?rev=806&op=diff
> ==============================================================================
> --- trunk/boinc-app-seti/debian/rules (original)
> +++ trunk/boinc-app-seti/debian/rules Tue Jan 1 18:22:16 2008
> @@ -63,13 +63,13 @@
> dh_clean client/setiathome-$(UPSTREAM_VERSION).*
> dh_clean debian/extra/app_info.xml
>
> -origDir = .
> +origDir ?= .
>
> get-orig-source:
> if [ ! -d "$(origDir)" ]; then \
> echo "Destination directory '$(origDir)' does not exist."; \
> exit; \
> - fi
> + fi; \
> cd $(origDir); \
> DLS=/tmp/download-seti; \
> TODAY=`date +%Y-%m-%d | tr -d '\n'`; \
>
> Modified: trunk/boinc/debian/rules
> URL: http://svn.debian.org/wsvn/pkg-boinc/trunk/boinc/debian/rules?rev=806&op=diff
> ==============================================================================
> --- trunk/boinc/debian/rules (original)
> +++ trunk/boinc/debian/rules Tue Jan 1 18:22:16 2008
> @@ -236,13 +236,15 @@
>
> binary: binary-arch
>
> +origDir ?= .
> +
> get-orig-source:
> LATEST_VERSION=`svn list http://boinc.berkeley.edu/svn/tags/ | \
> sed 's/boinc_core_release_\(.*\)\//\1/' | \
> sort -g -t_ -k1 -k2 -k3 | sed 's/_/./g' | tail -n 1 | tr -d '\n'`; \
> EXB=/tmp/export-boinc; \
> svn export svn://svn.debian.org/pkg-boinc/scripts/export-boinc $$EXB; \
> - $$EXB -r $$LATEST_VERSION; \
> + $$EXB -r $$LATEST_VERSION -t $(origDir); \
> rm -f $$EXB
>
> .PHONY: patch unpatch unit-test pre-build build clean clean-patched install \
>
>
>
More information about the pkg-boinc-devel
mailing list