From 8174efd1612b4b9bbb618117f0a7c5230771b9ca Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Thu, 12 Sep 2013 17:48:56 +0000 Subject: --- doc/todo/makefile:_respect___36__PREFIX.mdwn | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 doc/todo/makefile:_respect___36__PREFIX.mdwn (limited to 'doc/todo') diff --git a/doc/todo/makefile:_respect___36__PREFIX.mdwn b/doc/todo/makefile:_respect___36__PREFIX.mdwn new file mode 100644 index 000000000..bcaa5b73a --- /dev/null +++ b/doc/todo/makefile:_respect___36__PREFIX.mdwn @@ -0,0 +1,19 @@ +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. +"""]] -- cgit v1.2.3 From 2b384f9f1a20dfb5f964309c5e30fb987d6b6762 Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Thu, 12 Sep 2013 17:50:00 +0000 Subject: --- doc/todo/makefile:_respect___36__PREFIX.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/todo') diff --git a/doc/todo/makefile:_respect___36__PREFIX.mdwn b/doc/todo/makefile:_respect___36__PREFIX.mdwn index bcaa5b73a..c1d07fe76 100644 --- a/doc/todo/makefile:_respect___36__PREFIX.mdwn +++ b/doc/todo/makefile:_respect___36__PREFIX.mdwn @@ -17,3 +17,5 @@ index b8995b2..5b1a6d4 100644 # Am I typing :make in vim? Do a fast build. """]] + +--[[anarcat] -- cgit v1.2.3 From e35ffb335ce3a0251675ae061109f4b1578f77ad Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Thu, 12 Sep 2013 17:50:34 +0000 Subject: sorry for the noise --- doc/todo/makefile:_respect___36__PREFIX.mdwn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/todo') diff --git a/doc/todo/makefile:_respect___36__PREFIX.mdwn b/doc/todo/makefile:_respect___36__PREFIX.mdwn index c1d07fe76..2b69e08e8 100644 --- a/doc/todo/makefile:_respect___36__PREFIX.mdwn +++ b/doc/todo/makefile:_respect___36__PREFIX.mdwn @@ -18,4 +18,4 @@ index b8995b2..5b1a6d4 100644 # Am I typing :make in vim? Do a fast build. """]] ---[[anarcat] +--[[anarcat]] -- cgit v1.2.3