1PREFIX?=$(HOME)/.config/nvim
2FENNEL?=fennel
3SOURCES := $(shell find . -name '*.lua')
4
5install:
6 for name in $(SOURCES); do\
7 install -m644 $${name} $(PREFIX)/$${name}; \
8 done
9
10format:
11 mkdir -p $(PREFIX)/lua/gabrielgio/
12 for name in $(SOURCES); do\
13 lua-format -i $${name}; \
14 done