From 8dc73f2df54ccb0c019e5e5a96ae238765158b0c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 17 May 2009 18:20:59 +0000 Subject: Move website stuff into its own directory. --- tools/dist.mk | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tools') 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 -- cgit v1.2.3