mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Bring the last remaining bits of dist.mk.
This commit is contained in:
parent
3d4ebeb1b0
commit
1cb579d0fd
18
Makefile.am
18
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.
|
# Obvious program stuff.
|
||||||
bin_PROGRAMS = tmux
|
bin_PROGRAMS = tmux
|
||||||
@ -9,6 +9,7 @@ EXTRA_DIST = \
|
|||||||
CHANGES FAQ NOTES TODO examples compat \
|
CHANGES FAQ NOTES TODO examples compat \
|
||||||
array.h compat.h tmux.h osdep-*.c
|
array.h compat.h tmux.h osdep-*.c
|
||||||
dist-hook:
|
dist-hook:
|
||||||
|
grep "^#found_debug=" configure
|
||||||
find $(distdir) -name CVS -type d|xargs rm -Rf
|
find $(distdir) -name CVS -type d|xargs rm -Rf
|
||||||
|
|
||||||
# glibc as usual does things ass-backwards and hides useful things by default,
|
# glibc as usual does things ass-backwards and hides useful things by default,
|
||||||
@ -222,3 +223,18 @@ endif
|
|||||||
if NO_STRTONUM
|
if NO_STRTONUM
|
||||||
nodist_tmux_SOURCES += compat/strtonum.c
|
nodist_tmux_SOURCES += compat/strtonum.c
|
||||||
endif
|
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
|
||||||
|
@ -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
|
|
Loading…
Reference in New Issue
Block a user