mirror of
				https://github.com/tmux/tmux.git
				synced 2025-11-04 09:26:05 +00:00 
			
		
		
		
	Bah, doing it together doesn't seem to work portably.
This commit is contained in:
		
							
								
								
									
										9
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										9
									
								
								Makefile
									
									
									
									
									
								
							@@ -1,4 +1,4 @@
 | 
			
		||||
# $Id: Makefile,v 1.50 2007-11-30 13:54:18 nicm Exp $
 | 
			
		||||
# $Id: Makefile,v 1.51 2007-11-30 13:59:16 nicm Exp $
 | 
			
		||||
 | 
			
		||||
.SUFFIXES: .c .o .y .h
 | 
			
		||||
.PHONY: clean update-index.html upload-index.html
 | 
			
		||||
@@ -49,8 +49,9 @@ CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
 | 
			
		||||
CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
 | 
			
		||||
 | 
			
		||||
PREFIX?= /usr/local
 | 
			
		||||
INSTALLBIN= install -d -g bin -o root -m 555
 | 
			
		||||
INSTALLMAN= install -d -g bin -o root -m 444
 | 
			
		||||
INSTALLDIR= install -d
 | 
			
		||||
INSTALLBIN= install -g bin -o root -m 555
 | 
			
		||||
INSTALLMAN= install -g bin -o root -m 444
 | 
			
		||||
 | 
			
		||||
LDFLAGS+= -L/usr/local/lib
 | 
			
		||||
.ifdef PROFILE
 | 
			
		||||
@@ -109,5 +110,7 @@ update-index.html:
 | 
			
		||||
		sed "s/%%VERSION%%/${VERSION}/g" index.html.in >index.html
 | 
			
		||||
 | 
			
		||||
install:	all
 | 
			
		||||
		${INSTALLDIR} ${DESTDIR}${PREFIX}/bin
 | 
			
		||||
		${INSTALLBIN} ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
 | 
			
		||||
		${INSTALLDIR} ${DESTDIR}${PREFIX}/man/man1
 | 
			
		||||
		${INSTALLMAN} ${PROG}.1 ${DESTDIR}${PREFIX}/man/man1/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user