mirror of
https://github.com/openwrt/luci.git
synced 2026-02-04 12:06:01 +08:00
* Fixed local Makefiles
This commit is contained in:
@@ -4,12 +4,12 @@ all: compile
|
||||
|
||||
source:
|
||||
mkdir -p dist$(LUCI_INSTALLDIR)
|
||||
cp root dist -R
|
||||
cp src dist$(LUCI_INSTALLDIR) -R
|
||||
cp root/* dist -R
|
||||
cp src/* dist$(LUCI_INSTALLDIR) -R
|
||||
for i in $$(find dist -name .svn); do rm $$i -rf; done
|
||||
|
||||
compile: source
|
||||
for i in $$(find dist -name *.lua); do $(LUAC) $(LUAC_OPTIONS) -o $$i $$i; done
|
||||
|
||||
clean:
|
||||
rm dist -rf
|
||||
rm dist -rf
|
||||
|
||||
Reference in New Issue
Block a user