2009-11-09 21:27:51 +00:00
|
|
|
diff --git a/GNUmakefile b/GNUmakefile
|
|
|
|
index f8f1911..5e7b6f3 100644
|
2009-11-01 18:46:32 +00:00
|
|
|
--- a/GNUmakefile
|
|
|
|
+++ b/GNUmakefile
|
2009-11-09 21:27:51 +00:00
|
|
|
@@ -23,7 +23,7 @@ VERSION= 1.1
|
2009-11-01 18:46:32 +00:00
|
|
|
|
2009-11-09 21:27:51 +00:00
|
|
|
CC?= cc
|
2009-11-01 18:46:32 +00:00
|
|
|
CFLAGS+= -DBUILD="\"$(VERSION)\""
|
|
|
|
-LDFLAGS+= -L/usr/local/lib
|
|
|
|
+LDFLAGS+= -L/usr/lib
|
|
|
|
LIBS+=
|
|
|
|
|
2009-11-09 21:27:51 +00:00
|
|
|
# Sun CC
|
|
|
|
@@ -51,7 +51,7 @@ CFLAGS+= -Wno-pointer-sign
|
2009-11-01 18:46:32 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
-PREFIX?= /usr/local
|
2009-11-09 21:27:51 +00:00
|
|
|
+PREFIX?= /usr
|
2009-11-01 18:46:32 +00:00
|
|
|
INSTALLDIR= install -d
|
|
|
|
INSTALLBIN= install -g bin -o root -m 555
|
|
|
|
INSTALLMAN= install -g bin -o root -m 444
|
2009-11-09 21:27:51 +00:00
|
|
|
@@ -80,7 +80,7 @@ clean-all: clean clean-depend
|
2009-11-01 18:46:32 +00:00
|
|
|
install: all
|
|
|
|
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
|
|
|
|
$(INSTALLBIN) tmux $(DESTDIR)$(PREFIX)/bin/tmux
|
|
|
|
- $(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
|
|
|
|
- $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/man/man1/tmux.1
|
2009-11-09 21:27:51 +00:00
|
|
|
+ $(INSTALLDIR) $(DESTDIR)$(PREFIX)/share/man/man1
|
|
|
|
+ $(INSTALLMAN) tmux.1 $(DESTDIR)$(PREFIX)/share/man/man1/tmux.1
|
2009-11-01 18:46:32 +00:00
|
|
|
|
|
|
|
-include .depend
|
2009-11-09 21:27:51 +00:00
|
|
|
diff --git a/Makefile b/Makefile
|
|
|
|
index f713677..c5b1ece 100644
|
2009-11-01 18:46:32 +00:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2009-11-09 21:27:51 +00:00
|
|
|
@@ -24,7 +24,7 @@ VERSION= 1.1
|
2009-11-01 18:46:32 +00:00
|
|
|
|
|
|
|
CC?= cc
|
|
|
|
CFLAGS+= -DBUILD="\"$(VERSION)\""
|
|
|
|
-LDFLAGS+= -L/usr/local/lib
|
|
|
|
+LDFLAGS+= -L/usr/lib
|
|
|
|
LIBS+=
|
|
|
|
|
|
|
|
.ifdef FDEBUG
|
2009-11-09 21:27:51 +00:00
|
|
|
@@ -47,7 +47,7 @@ CFLAGS+= -Wno-pointer-sign
|
2009-11-01 18:46:32 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
-PREFIX?= /usr/local
|
|
|
|
+PREFIX?= /usr
|
|
|
|
INSTALLDIR= install -d
|
|
|
|
INSTALLBIN= install -g bin -o root -m 555
|
|
|
|
INSTALLMAN= install -g bin -o root -m 444
|
2009-11-09 21:27:51 +00:00
|
|
|
@@ -79,5 +79,5 @@ clean-all: clean clean-depend
|
2009-11-01 18:46:32 +00:00
|
|
|
install: all
|
|
|
|
${INSTALLDIR} ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALLBIN} tmux ${DESTDIR}${PREFIX}/bin/
|
|
|
|
- ${INSTALLDIR} ${DESTDIR}${PREFIX}/man/man1
|
|
|
|
- ${INSTALLMAN} tmux.1 ${DESTDIR}${PREFIX}/man/man1/
|
|
|
|
+ ${INSTALLDIR} ${DESTDIR}${PREFIX}/share/man/man1
|
|
|
|
+ ${INSTALLMAN} tmux.1 ${DESTDIR}${PREFIX}/share/man/man1/
|