aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: fc3a512c0e0e6ea851d9e46d3254dc02342056fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PREFIX?=$(HOME)/.config/nvim
FENNEL?=fennel
SOURCES := $(shell find . -name '*.lua')

install:
	-rm $(PREFIX)/lua/gabrielgio/*
	mkdir -p $(PREFIX)/lua/gabrielgio/
	for name in $(SOURCES); do\
		install -m644 $${name} $(PREFIX)/$${name}; \
	done

format:
	mkdir -p $(PREFIX)/lua/gabrielgio/
	for name in $(SOURCES); do\
		lua-format -i $${name}; \
	done