X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=Makefile;h=efccd79d09d67b69dfd8d659bd35483b4f88f51f;hp=ceb80ac249dcd172ff50699fef2888386344ed59;hb=631b80911b86d7265b71535e19bfe228481e02bf;hpb=daca626e86ff51e72f6423f3fb69e1a1d16d7c59 diff --git a/Makefile b/Makefile index ceb80ac249..efccd79d09 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,8 @@ include build/config.mk MODULES = contrib/* applications/* libs/* modules/* themes/* i18n/* OS:=$(shell uname) +MODULES:=$(foreach item,$(wildcard $(MODULES)),$(if $(realpath $(wildcard $(item)/Makefile)),$(item))) + export OS .PHONY: all build gccbuild luabuild clean host gcchost luahost hostcopy hostclean @@ -77,9 +79,8 @@ hostclean: clean apidocs: hostenv build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "build/makedocs.sh host/luci/ docs" -uvldocs: hostenv - build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) \ - "build/uvldoc $(realpath host) $(UVL_SCHEMEDIR) uvldocs $(DOCS)" +nixiodocs: hostenv + build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "build/makedocs.sh libs/nixio/ nixiodocs" po: host for L in $${LANGUAGE:-$$(find i18n/ -path 'i18n/*/luasrc/i18n/*' -name 'default.*.lua' | \