diff options
| author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-20 17:01:38 +0000 |
|---|---|---|
| committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-20 17:01:38 +0000 |
| commit | b04bffc9c99045776abea011cc95f5819a939872 (patch) | |
| tree | 3261825d06b381009b1c3216d8f11ddfc27ff1c1 /Makefile | |
| parent | da21ac965d4d6d3a136cf574d396f19bd2941efd (diff) | |
| download | rtmux-b04bffc9c99045776abea011cc95f5819a939872.tar.gz rtmux-b04bffc9c99045776abea011cc95f5819a939872.tar.bz2 rtmux-b04bffc9c99045776abea011cc95f5819a939872.zip | |
+index.html.in
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -1,10 +1,10 @@ -# $Id: Makefile,v 1.42 2007-11-20 12:00:16 nicm Exp $ +# $Id: Makefile,v 1.43 2007-11-20 17:01:38 nicm Exp $ .SUFFIXES: .c .o .y .h -.PHONY: clean +.PHONY: clean update-index.html upload-index.html PROG= tmux -VERSION= 0.1 +VERSION= 0.2 OS!= uname REL!= uname -r @@ -67,7 +67,7 @@ DISTDIR= ${PROG}-${VERSION} DISTFILES= *.[chyl] Makefile GNUmakefile *.[1-9] NOTES TODO \ `find examples compat -type f -and ! -path '*CVS*'` -CLEANFILES= ${PROG} *.o .depend *~ ${PROG}.core *.log +CLEANFILES= ${PROG} *.o .depend *~ ${PROG}.core *.log index.html .c.o: ${CC} ${CFLAGS} ${INCDIRS} -c ${.IMPSRC} -o ${.TARGET} @@ -99,6 +99,13 @@ lint: clean: rm -f ${CLEANFILES} +upload-index.html: + scp index.html nicm@shell.sf.net:index.html + ssh nicm@shell.sf.net sh update-index-tmux.sh + +update-index.html: + sed "s/%%VERSION%%/${VERSION}/g" index.html.in >index.html + install: all ${INSTALLBIN} ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG} ${INSTALLMAN} ${PROG}.1 ${DESTDIR}${PREFIX}/man/man1/ |