mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-03 16:46:18 +00:00 
			
		
		
		
	+index.html.in
This commit is contained in:
		
							
								
								
									
										15
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								Makefile
									
									
									
									
									
								
							@@ -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/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user