From 8dc73f2df54ccb0c019e5e5a96ae238765158b0c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 17 May 2009 18:20:59 +0000 Subject: [PATCH] Move website stuff into its own directory. --- tools/dist.mk | 10 +++++----- {images => www/images}/tmux1.png | Bin {images => www/images}/tmux2.png | Bin {images => www/images}/tmux3.png | Bin {images => www/images}/tmux4.png | Bin {images => www/images}/tmux5.png | Bin {images => www/images}/tmux6.png | Bin index.html.in => www/index.html.in | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename {images => www/images}/tmux1.png (100%) rename {images => www/images}/tmux2.png (100%) rename {images => www/images}/tmux3.png (100%) rename {images => www/images}/tmux4.png (100%) rename {images => www/images}/tmux5.png (100%) rename {images => www/images}/tmux6.png (100%) rename index.html.in => www/index.html.in (95%) 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 @@ - +