X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=Makefile;h=8ac0ac664ad48c63df18044b081e194d068b9b43;hb=8579f2d8c7a490eff33fbe225a63e00c28ed8854;hp=796bb415412f5dea3ba988bb23fb3872b4566c38;hpb=855b7582d3576f45693e3a48fdb253c813cf4dce;p=project%2Fluci.git diff --git a/Makefile b/Makefile index 796bb4154..8ac0ac664 100644 --- a/Makefile +++ b/Makefile @@ -34,9 +34,23 @@ hostcopy: rm -f host/luci ln -s .$(LUCI_MODULEDIR) host/luci -run: host +runboa: host + export LUA_PATH="`pwd`/host$(LUCI_MODULEDIR);;" + export LUA_CPATH="`pwd`/host$(LUCI_LIBRARYDIR);;" libs/sgi-webuci/host/buildconfig.sh `pwd`/host > host/etc/boa/boa.conf ./host/usr/bin/boa -c ./host/etc/boa -d +runluci: luahost + export LUA_PATH="`pwd`/host$(LUCI_MODULEDIR);;" + export LUA_CPATH="`pwd`/host$(LUCI_LIBRARYDIR);;" + libs/httpd/host/runluci host$(HTDOCS) + hostclean: clean rm -rf host + +run: + # make run is deprecated # + # Please use: # + # # + # make runluci to use LuCI HTTPD # + # make runboa to use Boa / Webuci #