diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-17 18:20:59 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-17 18:20:59 +0000 |
commit | 8dc73f2df54ccb0c019e5e5a96ae238765158b0c (patch) | |
tree | 80f387926251d2abb66efd1b33febf38824b8a31 /tools | |
parent | 680521778310ed3c0c4c1254cc7aca9133374ecd (diff) |
Move website stuff into its own directory.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/dist.mk | 10 |
1 files changed, 5 insertions, 5 deletions
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 |