Skip to content

Commit

Permalink
macOS support
Browse files Browse the repository at this point in the history
  • Loading branch information
majewsky committed Aug 27, 2018
1 parent 6dd7cdc commit 5d966f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ build/gofu: FORCE
$(addprefix build/,$(APPLETS)):
ln -s gofu $@

# not using `install -D` here because macOS is stupid
install: FORCE all
install -D -m 0755 build/gofu "$(DESTDIR)$(PREFIX)/bin/gofu"
install -d -m 0755 "$(DESTDIR)$(PREFIX)/bin"
install -m 0755 build/gofu "$(DESTDIR)$(PREFIX)/bin/gofu"
for APPLET in $(APPLETS); do ln -s gofu "$(DESTDIR)$(PREFIX)/bin/$${APPLET}"; done

# which packages to test with static checkers?
Expand Down

0 comments on commit 5d966f1

Please sign in to comment.