summaryrefslogtreecommitdiff
path: root/doc/todo
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-09-12 14:06:19 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-09-12 14:06:19 -0400
commit4515c27f4273969ef2fae1dc0f90dbe98a905eae (patch)
tree71a3067148d837084afac982f23d5c3f30836635 /doc/todo
parent4cddc0384b8964bff7057657739db2d106d2cedc (diff)
parentae09b338ac84baa13764f53522bfb96cc96230a3 (diff)
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc/todo')
-rw-r--r--doc/todo/makefile:_respect___36__PREFIX.mdwn21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/todo/makefile:_respect___36__PREFIX.mdwn b/doc/todo/makefile:_respect___36__PREFIX.mdwn
new file mode 100644
index 000000000..2b69e08e8
--- /dev/null
+++ b/doc/todo/makefile:_respect___36__PREFIX.mdwn
@@ -0,0 +1,21 @@
+The `Makefile` should respect a `PREFIX` passed on the commandline so git-annex can be installed in (say) `$HOME`.
+
+Simple patch:
+
+[[!format diff """
+diff --git a/Makefile b/Makefile
+index b8995b2..5b1a6d4 100644
+--- a/Makefile
++++ b/Makefile
+@@ -3,7 +3,7 @@ all=git-annex $(mans) docs
+
+ GHC?=ghc
+ GHCMAKE=$(GHC) $(GHCFLAGS) --make
+-PREFIX=/usr
++PREFIX?=/usr
+ CABAL?=cabal # set to "./Setup" if you lack a cabal program
+
+ # Am I typing :make in vim? Do a fast build.
+"""]]
+
+--[[anarcat]]