include build/config.mk
-MODULES = applications/* core modules/* themes/*
+MODULES = applications/* libs/* modules/* themes/* i18n/*
LUA_TARGET = source
for i in $(MODULES); do make -C$$i clean; done
host: build
- mkdir -p host/ffluci
- for i in $(MODULES); do cp $$i/dist$(LUCI_INSTALLDIR) host/ -R 2>/dev/null || true; done
+ mkdir -p host
+ for i in $(MODULES); do cp $$i/dist/* host/ -R 2>/dev/null || true; done
+ ln -sf .$(LUCI_INSTALLDIR) host/luci
hostclean: clean
rm host -rf