diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-02 22:12:29 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-04-02 22:12:29 +0000 |
commit | 089f090c0a25c1b1097d08feb813e5a508e54883 (patch) | |
tree | 9a5fc23bc42f72997c6a9cb069cf1c06c1489166 /Makefile | |
parent | 6de6f4c4c93e87be9c4a388da07a5c89d17cb7f4 (diff) |
I can haz screenshots.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 |