Skip to content

Commit

Permalink
Adjust Makefile to work with macOS
Browse files Browse the repository at this point in the history
Signed-off-by: Doug Stephen <[email protected]>
  • Loading branch information
dljsjr committed Dec 31, 2024
1 parent 8a415f9 commit 63242db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# This Source Code Form is licensed MPL-2.0: http://mozilla.org/MPL/2.0

SHELL ::= /bin/bash -o pipefail
SHELL := /bin/bash -o pipefail
prefix ?= /usr/local
bindir ?= ${prefix}/bin
INSTALL ::= install -c
RM ::= rm -f
Q ::= $(if $(findstring 1, $(V)),, @)
INSTALL := install -c
RM := rm -f
Q := $(if $(findstring 1, $(V)),, @)

all: check

check-deps: jj-fzf
$Q ./jj-fzf --version
$Q ./jj-fzf --help >/dev/null # check-deps
install: check-deps
$(INSTALL) -t "$(bindir)" jj-fzf
$(INSTALL) jj-fzf "$(bindir)"
uninstall:
$(RM) "$(bindir)/jj-fzf"

Expand Down

0 comments on commit 63242db

Please sign in to comment.