From 089f090c0a25c1b1097d08feb813e5a508e54883 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 2 Apr 2009 22:12:29 +0000 Subject: I can haz screenshots. --- Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f2c52d2e..22dcefd2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.117 2009-04-01 18:21:23 nicm Exp $ +# $Id: Makefile,v 1.118 2009-04-02 22:12:28 nicm Exp $ .SUFFIXES: .c .o .y .h .PHONY: clean update-index.html upload-index.html @@ -136,10 +136,18 @@ lint: clean: rm -f ${CLEANFILES} -upload-index.html: - scp index.html nicm@web.sf.net:/home/groups/t/tm/tmux/htdocs +upload-index.html: update-index.html + scp index.html images/*.png \ + nicm,tmux@web.sf.net:/home/groups/t/tm/tmux/htdocs + rm -f images/small-* update-index.html: + (cd 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 install: all -- cgit