* Fixed buildscripts
[project/luci.git] / Makefile
1 include build/config.mk
2
3 MODULES = applications/* core modules/* themes/*
4 LUA_TARGET = source
5
6
7 .PHONY: all build clean host hostclean
8
9 all: build
10
11 build:
12 for i in $(MODULES); do make -C$$i $(LUA_TARGET); done
13
14 clean:
15 for i in $(MODULES); do make -C$$i clean; done
16
17 host: build
18 mkdir -p host/ffluci
19 for i in $(MODULES); do cp $$i/dist$(LUCI_INSTALLDIR) host/ -R 2>/dev/null || true; done
20
21 hostclean:
22 rm host -rf