diff options
| author | Tiago Cunha <tcunha@gmx.com> | 2011-01-07 15:09:04 +0000 |
|---|---|---|
| committer | Tiago Cunha <tcunha@gmx.com> | 2011-01-07 15:09:04 +0000 |
| commit | 1cb579d0fdf5eab42866c3d2d01ab6f2f87b3cbb (patch) | |
| tree | 30194f36e6342f040f693737d040d1d9baa0da40 /Makefile.am | |
| parent | 3d4ebeb1b0cee67e9aad1d3454a2f835f8d9c7f5 (diff) | |
| download | rtmux-1cb579d0fdf5eab42866c3d2d01ab6f2f87b3cbb.tar.gz rtmux-1cb579d0fdf5eab42866c3d2d01ab6f2f87b3cbb.tar.bz2 rtmux-1cb579d0fdf5eab42866c3d2d01ab6f2f87b3cbb.zip | |
Bring the last remaining bits of dist.mk.
Diffstat (limited to 'Makefile.am')
| -rw-r--r-- | Makefile.am | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 8f5c6958..69d321a1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.7 2011-01-07 15:04:24 tcunha Exp $ +# $Id: Makefile.am,v 1.8 2011-01-07 15:09:04 tcunha Exp $ # Obvious program stuff. bin_PROGRAMS = tmux @@ -9,6 +9,7 @@ EXTRA_DIST = \ CHANGES FAQ NOTES TODO examples compat \ array.h compat.h tmux.h osdep-*.c dist-hook: + grep "^#found_debug=" configure find $(distdir) -name CVS -type d|xargs rm -Rf # glibc as usual does things ass-backwards and hides useful things by default, @@ -222,3 +223,18 @@ endif if NO_STRTONUM nodist_tmux_SOURCES += compat/strtonum.c endif + +# Update SF web site. +upload-index.html: update-index.html + scp www/index.html www/main.css www/images/*.png \ + ${USER},tmux@web.sf.net:/home/groups/t/tm/tmux/htdocs + rm -f www/index.html www/images/small-* + +update-index.html: + (cd www/images && \ + rm -f small-* && \ + for i in *.png; do \ + convert "$$i" -resize 200x150 "small-$$i"; \ + done \ + ) + sed "s/%%VERSION%%/${VERSION}/g" www/index.html.in >www/index.html |