summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b283aef..3d179d8 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ WWW_DIST=\
EXTRA_DIST=README Makefile config.mk
-DISTFILES=$(APP_DIST) $(EXTRA_DIST)
+DISTFILES=$(WWW_DIST) $(EXTRA_DIST)
TAR=tar
@@ -47,7 +47,11 @@ install:
$(tarball): $(DISTFILES)
rm -rf $(P)
mkdir -p $(P)
- cp $(DISTFILES) $(P)
+ for i in $(DISTFILES); do\
+ dest=`dirname "$(P)/$$i"`;\
+ mkdir -p "$$dest";\
+ cp "$$i" "$$dest";\
+ done
$(TAR) -jcf $@ $(P)
rm -rf $(P)