2011-04-10 08:38:56 +00:00
|
|
|
# correct directory /usr/local
|
|
|
|
--- a/GNUmakefile
|
|
|
|
+++ b/GNUmakefile
|
2010-07-19 05:13:34 +00:00
|
|
|
@@ -23,7 +23,7 @@
|
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
|
2010-07-19 05:13:34 +00:00
|
|
|
@@ -51,7 +51,7 @@
|
2009-11-01 18:46:32 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
-PREFIX?= /usr/local
|
2011-04-10 08:38:56 +00:00
|
|
|
+PREFIX?= /usr/
|
2010-07-19 05:13:34 +00:00
|
|
|
INSTALL?= install
|
|
|
|
INSTALLDIR= $(INSTALL) -d
|
|
|
|
INSTALLBIN= $(INSTALL) -m 555
|
|
|
|
@@ -81,7 +81,7 @@
|
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
|
2011-04-10 08:38:56 +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
|
2011-04-10 08:38:56 +00:00
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2010-07-19 05:13:34 +00:00
|
|
|
@@ -24,7 +24,7 @@
|
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
|
2010-07-19 05:13:34 +00:00
|
|
|
@@ -47,7 +47,7 @@
|
2009-11-01 18:46:32 +00:00
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
|
|
|
-PREFIX?= /usr/local
|
2011-04-10 08:38:56 +00:00
|
|
|
+PREFIX?= /usr/
|
2010-07-19 05:13:34 +00:00
|
|
|
INSTALL?= install
|
|
|
|
INSTALLDIR= ${INSTALL} -d
|
|
|
|
INSTALLBIN= ${INSTALL} -m 555
|
|
|
|
@@ -80,5 +80,5 @@
|
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/
|