This commit is contained in:
eschwartz@5abb721e66990e478c7d1caf96beb4f9794eb168 2019-08-15 22:46:53 +00:00 committed by admin
parent 7cd2120b23
commit c131c0f0c5

View file

@ -0,0 +1,17 @@
### Please describe the problem.
When running `make install-desktop install-completions`, the git-annex binary may not exist yet. Depending on the order in which Make runs the requested targets, the git-annex target (install-desktop -> build -> $(all) -> git-annex) may or may not have run, to a) check that dist/build/git-annex/git-annex is up to date, b) create the symlink in the root directory, by the time the install-completions target gets run.
### What steps will reproduce the problem?
`make install-completions` without the git-annex binary having been built already.
### What version of git-annex are you using? On what operating system?
Trying to package git-annex for Arch Linux, using the following build recipe:
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/git-annex#n34
reference downstream bug: https://bugs.archlinux.org/task/62775
(This is building the binary via runhaskell Setup configure/build instead of using the Makefile -- I don't know exactly why, but I suspect it was originally packaged that way due to needing custom options for Arch's ghc.)