summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 145eb03..990229e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,7 @@ VERSION=0.3.1
APP_DIST=\
*.js\
+ widgets/*.js\
STATIC_DIST=\
tablesorter/*\
@@ -27,7 +28,11 @@ dist: $(tarball)
install:
mkdir -p "$(install_dir)"
- cp -a $(APP_DIST) "$(install_dir)"
+ for i in $(APP_DIST); do\
+ dest=`dirname "$(install_dir)/$$i"`;\
+ mkdir -p "$$dest";\
+ cp "$$i" "$$dest";\
+ done
mkdir -p "$(static_dir)"
cp -a $(STATIC_DIST) "$(static_dir)"