* Added support for htdocs module directory

This commit is contained in:
Steven Barth 2008-06-15 16:02:47 +00:00
parent 647bc44868
commit 3455ee6d8d
11 changed files with 4 additions and 0 deletions

View File

@ -7,3 +7,5 @@ LUA_LIBRARYDIR = /usr/lib/lua
LUCI_MODULEDIR = $(LUA_MODULEDIR)/luci
LUCI_LIBRARYDIR = $(LUA_LIBRARYDIR)/luci
HTDOCS = /www

View File

@ -14,9 +14,11 @@ clean: luaclean
luasource:
mkdir -p dist$(LUA_MODULEDIR)
mkdir -p dist$(LUCI_MODULEDIR)
mkdir -p dist$(HTDOCS)
cp -a root/* dist -R 2>/dev/null || true
cp -a luasrc/* dist$(LUCI_MODULEDIR) -R 2>/dev/null || true
cp -a lua/* dist$(LUA_MODULEDIR) -R 2>/dev/null || true
cp -a htdocs/* dist$(HTDOCS) -R 2>/dev/null || true
for i in $$(find dist -name .svn); do rm $$i -rf; done
luacompile: luasource

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB