1
0
Fork 0
slope-nano-syntax/Makefile

14 lines
331 B
Makefile
Raw Normal View History

LANGNAME := slope
ROOT := ~/.local/share/nano
SYN := /syntax
.PHONY: install
install: ./${LANGNAME}.nanorc
install -d ${ROOT}${SYN}
install -m 0644 ${LANGNAME}.nanorc ${ROOT}${SYN}
@printf "\ninclude %s\n" ${ROOT}${SYN}/${LANGNAME}.nanorc >> ~/.nanorc
.PHONY: remove
remove:
rm -rf ${ROOT}${SYN}/${LANGNAME}.nanorc