Skip to content

Commit

Permalink
Move website stuff into its own directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed May 17, 2009
1 parent 6805217 commit 8dc73f2
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions tools/dist.mk
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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,[email protected]:/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
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
2 changes: 1 addition & 1 deletion index.html.in → www/index.html.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- $Id: index.html.in,v 1.6 2009-04-21 20:10:22 nicm Exp $ -->
<!-- $Id: index.html.in,v 1.1 2009-05-17 18:20:59 nicm Exp $ -->
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Expand Down

0 comments on commit 8dc73f2

Please sign in to comment.