X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=Makefile;h=ceb80ac249dcd172ff50699fef2888386344ed59;hp=3b46544a4cdf08699155ba969ca44187f451c3bf;hb=093f677a30e7059e4683b8a15cb5c8fb3e3287d8;hpb=405d42a40c186134fcb605bd99fe9e6293164a3e diff --git a/Makefile b/Makefile index 3b46544a4..ceb80ac24 100644 --- a/Makefile +++ b/Makefile @@ -61,6 +61,10 @@ ucidefaults: runhttpd: hostenv build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "lua build/lucid.lua" +runuhttpd: hostenv + cp $(realpath build)/luci.cgi $(realpath host)/www/cgi-bin/luci + build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "$(realpath host)/usr/sbin/uhttpd -p 8080 -h $(realpath host)/www -f" + runlua: hostenv build/hostenv.sh $(realpath host) $(LUA_MODULEDIR) $(LUA_LIBRARYDIR) "lua -i build/setup.lua"