diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-14 07:48:42 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-05-14 07:48:42 +0000 |
commit | 6099a3399ecf19570ce65bc448ae4bc71c94fcf6 (patch) | |
tree | 3beab12a9ea469a5214bce1339a022d0e2d6c531 | |
parent | 1a86934e09d65ff1e674beb4190faefe2d17ddf6 (diff) | |
download | rtmux-6099a3399ecf19570ce65bc448ae4bc71c94fcf6.tar.gz rtmux-6099a3399ecf19570ce65bc448ae4bc71c94fcf6.tar.bz2 rtmux-6099a3399ecf19570ce65bc448ae4bc71c94fcf6.zip |
Add distribution stuff back in.
-rw-r--r-- | dist.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dist.mk b/dist.mk new file mode 100644 index 00000000..167e521d --- /dev/null +++ b/dist.mk @@ -0,0 +1,30 @@ +# $Id: dist.mk,v 1.1 2009-05-14 07:48:42 nicm Exp $ + +DISTDIR= tmux-${VERSION} +DISTFILES= *.[ch] Makefile GNUmakefile configure tmux.1 \ + NOTES TODO CHANGES FAQ \ + `find examples compat -type f -and ! -path '*CVS*'` + +dist: + make clean + grep '^#FDEBUG=' Makefile + grep '^#FDEBUG=' GNUmakefile + [ "`(grep '^VERSION' Makefile; grep '^VERSION' GNUmakefile)| \ + uniq -u`" = "" ] + tar -zc \ + -s '/.*/${DISTDIR}\/\0/' \ + -f ${DISTDIR}.tar.gz ${DISTFILES} + +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 |