mirror of
https://github.com/tmate-io/tmate.git
synced 2024-11-23 16:43:11 +01:00
Bah, doing it together doesn't seem to work portably.
This commit is contained in:
parent
fe1299aecf
commit
2b3ba1cfad
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/
|
||||
|
Loading…
Reference in New Issue
Block a user