tmux/tmux-1.0-02_fix_wrong_location.diff

63 lines
1.6 KiB
Diff
Raw Normal View History

2009-11-09 21:27:51 +00:00
diff --git a/GNUmakefile b/GNUmakefile
index f8f1911..5e7b6f3 100644
--- a/GNUmakefile
+++ b/GNUmakefile
2009-11-09 21:27:51 +00:00
@@ -23,7 +23,7 @@ VERSION= 1.1
2009-11-09 21:27:51 +00:00
CC?= cc
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
endif
endif
-PREFIX?= /usr/local
2009-11-09 21:27:51 +00:00
+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
@@ -80,7 +80,7 @@ clean-all: clean clean-depend
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
-include .depend
2009-11-09 21:27:51 +00:00
diff --git a/Makefile b/Makefile
index f713677..c5b1ece 100644
--- a/Makefile
+++ b/Makefile
2009-11-09 21:27:51 +00:00
@@ -24,7 +24,7 @@ VERSION= 1.1
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
.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
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/