From 99dead284006e9f32006be5515895de6660c527a Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Mon, 20 Apr 2015 11:29:32 -0400 Subject: NF: provide debian/rules build-standalone --- debian/patches/standalone-build | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'debian/patches') diff --git a/debian/patches/standalone-build b/debian/patches/standalone-build index 68ab36989..81d94561b 100644 --- a/debian/patches/standalone-build +++ b/debian/patches/standalone-build @@ -54,16 +54,10 @@ Last-Update: 2015-04-20 +debian/git-annex-standalone/usr/lib/git-annex.linux/usr/share/man/man1/git-annex* --- a/debian/rules +++ b/debian/rules -@@ -3,7 +3,17 @@ - export CABAL=debian/cabal-wrapper +@@ -12,6 +12,15 @@ export RELEASE_BUILD=1 + # Rules for providing a standalone build of annex. + # - # Do use the changelog's version number, rather than making one up. --export RELEASE_BUILD=1 -+export RELEASE_BUILD=0 - - %: - dh $@ -+ +override_dh_auto_build: + make linuxstandalone + @@ -73,3 +67,6 @@ Last-Update: 2015-04-20 +override_dh_fixperms: + dh_fixperms -Xld-linux + + build-standalone: + [ -e .git ] + git checkout debian/changelog -- cgit v1.2.3