Skip to content

Commit

Permalink
Makefile: fix usage of install command line flags on macOS (#1212)
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann authored Jul 2, 2024
1 parent a337925 commit 8975e4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,8 @@ govulncheck:
INSTALL_PREFIX?=/usr/

install: $(PREFIX)bin/$(BINNAME)
$Q install -D $(PREFIX)bin/$(BINNAME) $(DESTDIR)$(INSTALL_PREFIX)bin/$(BINNAME)
$Q mkdir -p $(INSTALL_PREFIX)bin/
$Q install $(PREFIX)bin/$(BINNAME) $(DESTDIR)$(INSTALL_PREFIX)bin/$(BINNAME)

uninstall:
$Q rm -f $(DESTDIR)$(INSTALL_PREFIX)/bin/$(BINNAME)
Expand Down

0 comments on commit 8975e4a

Please sign in to comment.