aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 4aba75d21e54b4857c8cd0227693e2b7d8f33044 (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