git.m455.casa

ffs

clone url: git://git.m455.casa/ffs


Makefile

1 DESTDIR ?= .
2
3 compile:
4 @echo "#!/usr/bin/env lua" > $(DESTDIR)/ffs.lua
5 @echo "-- ffs - A Fennel and Lua library for handling files and directories" >> $(DESTDIR)/ffs.lua
6 @echo "-- Author: Jesse Laprade (m455)" >> $(DESTDIR)/ffs.lua
7 @echo "-- License: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.en.html)" >> $(DESTDIR)/ffs.lua
8 @echo "-- Source: https://git.m455.casa/m455/ffs" >> $(DESTDIR)/ffs.lua
9 @fennel --require-as-include --compile ffs.fnl >> $(DESTDIR)/ffs.lua
10 @echo "Successfully compiled to $(DESTDIR)/ffs.lua!"
11