Skip to content

Require GNU make >= 4 #21

@bos

Description

@bos

I tried building jj-fzf on a relatively new macOS system today. Although I use Homebrew and it had installed a modern version of GNU make (5.33), I didn't realize that it installs the command as gmake for some bizarre reason, so when I ran "make all" I got the system's much older version of GNU make (3.81, from 2006).

It took me a solid 20 minutes of confusion and misdirection before I could figure out what was wrong, since the error message from the system make doesn't make any sense:

[trunk@tnvkwypmoxrl] ~/dev/jj-fzf $ /usr/bin/make all
  GEN      check-deps
  OK         All preflight.sh checks passed
  GEN      doc/jj-fzf.1
awk: can't open file /Users/bos/dev/jj-fzf/doc/cmdrr.awk
 source line number 1 source file /Users/bos/dev/jj-fzf/doc/cmdrr.awk
make: *** [doc/jj-fzf.1] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions