diff --git a/tools/dist.mk b/tools/dist.mk index daaec1ee..3e11b7f5 100644 --- a/tools/dist.mk +++ b/tools/dist.mk @@ -1,4 +1,4 @@ -# $Id: dist.mk,v 1.1 2009-05-17 18:15:41 nicm Exp $ +# $Id: dist.mk,v 1.2 2009-05-17 18:20:59 nicm Exp $ VERSION= 0.8 @@ -18,15 +18,15 @@ dist: -f ${DISTDIR}.tar.gz ${DISTFILES} upload-index.html: update-index.html - scp index.html images/*.png \ + scp www/index.html www/images/*.png \ nicm,tmux@web.sf.net:/home/groups/t/tm/tmux/htdocs - rm -f images/small-* + rm -f www/index.html www/images/small-* update-index.html: - (cd images && \ + (cd www/images && \ rm -f small-* && \ for i in *.png; do \ convert "$$i" -resize 200x150 "small-$$i"; \ done \ ) - sed "s/%%VERSION%%/${VERSION}/g" index.html.in >index.html + sed "s/%%VERSION%%/${VERSION}/g" www/index.html.in >www/index.html diff --git a/images/tmux1.png b/www/images/tmux1.png similarity index 100% rename from images/tmux1.png rename to www/images/tmux1.png diff --git a/images/tmux2.png b/www/images/tmux2.png similarity index 100% rename from images/tmux2.png rename to www/images/tmux2.png diff --git a/images/tmux3.png b/www/images/tmux3.png similarity index 100% rename from images/tmux3.png rename to www/images/tmux3.png diff --git a/images/tmux4.png b/www/images/tmux4.png similarity index 100% rename from images/tmux4.png rename to www/images/tmux4.png diff --git a/images/tmux5.png b/www/images/tmux5.png similarity index 100% rename from images/tmux5.png rename to www/images/tmux5.png diff --git a/images/tmux6.png b/www/images/tmux6.png similarity index 100% rename from images/tmux6.png rename to www/images/tmux6.png diff --git a/index.html.in b/www/index.html.in similarity index 95% rename from index.html.in rename to www/index.html.in index 1a48b71e..36d04b55 100644 --- a/index.html.in +++ b/www/index.html.in @@ -1,4 +1,4 @@ - +