X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=Makefile;h=8ce59c268303a503a5d0cb5660872c1435098050;hp=fa9a407303108e79771325151a829ff21afe718c;hb=d5deb7a99aa3ccad8305e405aa25e170e9bc7e33;hpb=6b0b22688c27d290542f8b86d12183b5c4cd43fd diff --git a/Makefile b/Makefile index fa9a40730..8ce59c268 100644 --- a/Makefile +++ b/Makefile @@ -30,12 +30,23 @@ luahost: luabuild hostcopy hostcopy: mkdir -p host - for i in $(MODULES); do cp $$i/dist/* host/ -R 2>/dev/null || true; done + for i in $(MODULES); do cp -a $$i/dist/* host/ -R 2>/dev/null || true; done rm -f host/luci - ln -s .$(LUCI_INSTALLDIR) host/luci + ln -s .$(LUCI_MODULEDIR) host/luci -run: host +runboa: host + libs/sgi-webuci/host/buildconfig.sh `pwd`/host > host/etc/boa/boa.conf ./host/usr/bin/boa -c ./host/etc/boa -d +runluci: luahost + 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 #