* Fixed local Makefiles
[project/luci.git] / build / module.mk
1 .PHONY: all compile source clean
2
3 all: compile
4
5 source:
6 mkdir -p dist$(LUCI_INSTALLDIR)
7 cp root/* dist -R
8 cp src/* dist$(LUCI_INSTALLDIR) -R
9 for i in $$(find dist -name .svn); do rm $$i -rf; done
10
11 compile: source
12 for i in $$(find dist -name *.lua); do $(LUAC) $(LUAC_OPTIONS) -o $$i $$i; done
13
14 clean:
15 rm dist -rf