BSD ls does not have -I; use find

This commit is contained in:
Andrew Tomaka 2016-12-13 14:37:15 -05:00
parent d1577873fc
commit 4ea11149c5

View file

@ -1,5 +1,5 @@
excludes = -I Makefile -I README.md
symlinks = $(shell ls $(excludes) `pwd`)
symlinks = $(shell find . \( ! -iname "Makefile" ! -iname "README.md" ! -iname ".*" ! -path "./.git/*" ! -path "./zsh/*" \) | sed 's|./||')
.PHONY: $(symlinks)