mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-18 09:30:04 +02:00
Move website stuff into its own directory.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user