diff options
author | Steven Barth <steven@midlink.org> | 2008-06-15 16:02:47 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-15 16:02:47 +0000 |
commit | 3455ee6d8d9eb3c0ee8459adb586a800dadaf737 (patch) | |
tree | 2cc4ac0f6df70f8df1e9afd0faccca1ec9f3299f /build | |
parent | 647bc44868000e97763600dbea176307cd4a3ef5 (diff) |
* Added support for htdocs module directory
Diffstat (limited to 'build')
-rw-r--r-- | build/config.mk | 2 | ||||
-rw-r--r-- | build/module.mk | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/build/config.mk b/build/config.mk index 81d3e0836..3cf13201f 100644 --- a/build/config.mk +++ b/build/config.mk @@ -7,3 +7,5 @@ LUA_LIBRARYDIR = /usr/lib/lua LUCI_MODULEDIR = $(LUA_MODULEDIR)/luci LUCI_LIBRARYDIR = $(LUA_LIBRARYDIR)/luci +HTDOCS = /www + diff --git a/build/module.mk b/build/module.mk index 4ef3668c8..b85dcda35 100644 --- a/build/module.mk +++ b/build/module.mk @@ -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 |