mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 13:37:12 +00:00
Bring the last remaining bits of dist.mk.
This commit is contained in:
@ -1,33 +0,0 @@
|
||||
# $Id: dist.mk,v 1.11 2010-12-27 21:32:16 tcunha Exp $
|
||||
|
||||
VERSION= 1.4
|
||||
|
||||
DISTDIR= tmux-${VERSION}
|
||||
DISTFILES= *.[ch] Makefile GNUmakefile configure tmux.1 \
|
||||
NOTES TODO CHANGES FAQ \
|
||||
`find examples compat -type f -and ! -path '*CVS*'`
|
||||
|
||||
dist:
|
||||
(./configure && make clean-all)
|
||||
grep '^#FDEBUG=' Makefile
|
||||
grep '^#FDEBUG=' GNUmakefile
|
||||
[ "`(grep '^VERSION' Makefile; grep '^VERSION' GNUmakefile)| \
|
||||
uniq -u`" = "" ]
|
||||
chmod +x configure
|
||||
tar -zc \
|
||||
-s '/.*/${DISTDIR}\/\0/' \
|
||||
-f ${DISTDIR}.tar.gz ${DISTFILES}
|
||||
|
||||
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
|
Reference in New Issue
Block a user