summaryrefslogtreecommitdiffhomepage
path: root/build/module.mk
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-15 16:02:47 +0000
committerSteven Barth <steven@midlink.org>2008-06-15 16:02:47 +0000
commit3455ee6d8d9eb3c0ee8459adb586a800dadaf737 (patch)
tree2cc4ac0f6df70f8df1e9afd0faccca1ec9f3299f /build/module.mk
parent647bc44868000e97763600dbea176307cd4a3ef5 (diff)
* Added support for htdocs module directory
Diffstat (limited to 'build/module.mk')
-rw-r--r--build/module.mk2
1 files changed, 2 insertions, 0 deletions
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