mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-19 12:42:30 +02:00
32 lines
983 B
Diff
32 lines
983 B
Diff
--- git-annex-10.20240227.orig/Makefile
|
|
+++ git-annex-10.20240227/Makefile
|
|
@@ -5,7 +5,7 @@
|
|
ifeq ($(BUILDER),stack)
|
|
GHC?=stack ghc --
|
|
else
|
|
-GHC?=ghc
|
|
+GHC?=cabal exec ghc --
|
|
endif
|
|
|
|
PREFIX?=/usr
|
|
@@ -86,16 +86,16 @@
|
|
rsync -a --delete html/ $(DESTDIR)$(PREFIX)/$(SHAREDIR)/doc/git-annex/html/; \
|
|
fi
|
|
|
|
-install-bins: build
|
|
+install-bins:
|
|
install -d $(DESTDIR)$(PREFIX)/bin
|
|
install git-annex $(DESTDIR)$(PREFIX)/bin
|
|
ln -sf git-annex $(DESTDIR)$(PREFIX)/bin/git-annex-shell
|
|
ln -sf git-annex $(DESTDIR)$(PREFIX)/bin/git-remote-tor-annex
|
|
|
|
-install-desktop: build Build/InstallDesktopFile
|
|
+install-desktop: Build/InstallDesktopFile
|
|
./Build/InstallDesktopFile $(PREFIX)/bin/git-annex || true
|
|
|
|
-install-completions: build
|
|
+install-completions:
|
|
install -d $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions
|
|
install -m 0644 bash-completion.bash $(DESTDIR)$(PREFIX)/$(SHAREDIR)/bash-completion/completions/git-annex
|
|
install -d $(DESTDIR)$(ZSH_COMPLETIONS_PATH)
|