summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
authorGravatar Yaroslav Halchenko <debian@onerussian.com>2015-04-20 11:29:32 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-04-20 14:46:34 -0400
commit99dead284006e9f32006be5515895de6660c527a (patch)
tree89089641f1c52cb4c346970bf6886beccd34d904 /debian/patches
parent914747670bafe9c5fd90d12cf5f887b46f02b00b (diff)
NF: provide debian/rules build-standalone
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/standalone-build15
1 files changed, 6 insertions, 9 deletions
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