Skip to content

Commit

Permalink
MacOS is still giving guff
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerb9 committed Mar 14, 2024
1 parent 9d19520 commit 7cf4f92
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ generated+=CMPRSS.BA
# (possibly old) version of m100-tokenize in the adjunct/ dir.
TOKENIZE:=$(shell command -v m100-tokenize 2>/dev/null)
ifndef TOKENIZE
TOKENIZE :=$(shell command -v adjunct/m100-tokenize 2>/dev/null)
TOKENIZE := $(shell command -v adjunct/m100-tokenize 2>/dev/null)
ifndef TOKENIZE
$(warning "Compiling m100-tokenize in adjunct directory");
generated:=tokenize ${generated}
Expand All @@ -37,14 +37,15 @@ tokenize:


# GNU tar lets us easily put the files into a subdirectory in the archive.
# Unfortunately, MacOS's tar cannot do that.
# Unfortunately, MacOS is recalcitrant.
UNAME := $(shell uname)
ifeq ($(UNAME), Darwin)
PATH := "/usr/local/opt/gawk/libexec/gnubin:$PATH"
PATH := "/usr/local/opt/gnu-tar/libexec/gnubin:$PATH"
gnuxform :=
else
gnuxform := --xform 's%^%m100le/%'
endif
gnuxform := --xform 's%^%m100le/%'

### Create an archive of the final product for distribution.
archivefiles := M100LE.BA M100LE+comments.DO WL*.CO README.md
Expand Down

0 comments on commit 7cf4f92

Please sign in to comment.