Makefile: Added install-home target which installs git-annex into the HOME directory
This commit is contained in:
parent
95e94b9d00
commit
6491b62614
7 changed files with 83 additions and 17 deletions
|
@ -1,3 +1,6 @@
|
|||
git-annex uses copyHook in Setup.hs to create/install man pages, .desktop file and etc.
|
||||
|
||||
I'm using cabal new-build/new-install to install it, and these copyHooks don't get called. I reported it to Cabal, but they replied that this should be fixed on git-annex side: https://github.com/haskell/cabal/issues/5933
|
||||
|
||||
> [[done]], make install-home. Can't be done in Setup.hs for new-build so
|
||||
> this is the best that can be done. --[[Joey]]
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
[[!comment format=mdwn
|
||||
username="joey"
|
||||
subject="""comment 1"""
|
||||
date="2019-03-18T15:22:46Z"
|
||||
content="""
|
||||
stack install also bypasses the custom postCopy. It's not been much of a
|
||||
problem. git-annex's Makefile can use either system to build, and does a
|
||||
much better job of installing all needed files.
|
||||
|
||||
I've updated the install/fromsource page to point the user toward
|
||||
`make install` more. Also added a `make install-home` target.
|
||||
|
||||
But I've kept support for using cabal install because users may be relying
|
||||
on that installation method. If cabal switches to new-build by default
|
||||
and it stops working, it can be removed then.
|
||||
"""]]
|
Loading…
Add table
Add a link
Reference in a new issue