install -D is not available on macOS, so we create the directories with install -d before installing.
install -t is also not present but turns out we didn't really need it as it's only useful if you want to specify the destination directory before the source, so I just removed the t flag
(EDIT: for posterity, the actual reason we don't need to use it is because we already created the directories so install doesn't get confused about whether the last argument is a DEST or DIRECTORY, you need it if the target directory does not exist)
Really, this is my own fault, when changing the Makefile I didn't take other OSs into account, wrongly assuming the coreutils would work the same.
install -D
is not available on macOS, so we create the directories withinstall -d
before installing.install -t
is also not present but turns out we didn't really need it asit's only useful if you want to specify the destination directory before the source, so I just removed thet
flag (EDIT: for posterity, the actual reason we don't need to use it is because we already created the directories soinstall
doesn't get confused about whether the last argument is aDEST
orDIRECTORY
, you need it if the target directory does not exist)Really, this is my own fault, when changing the
Makefile
I didn't take other OSs into account, wrongly assuming the coreutils would work the same.Fixes #7