mirror of
https://github.com/tmux/tmux.git
synced 2025-01-12 03:08:46 +00:00
Add a MANDIR variable, from Tiago Cunha.
This commit is contained in:
parent
b044d0951f
commit
ca198956f8
@ -1,4 +1,4 @@
|
||||
# $Id: GNUmakefile,v 1.14 2008-06-04 18:27:33 nicm Exp $
|
||||
# $Id: GNUmakefile,v 1.15 2008-06-05 05:04:47 nicm Exp $
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
@ -45,6 +45,7 @@ LDFLAGS+=
|
||||
LIBS+= -lncurses
|
||||
|
||||
PREFIX?= /usr/local
|
||||
MANDIR?= $(PREFIX)/man/man1
|
||||
INSTALLDIR= install -d
|
||||
INSTALLBIN= install -g bin -o root -m 555
|
||||
INSTALLMAN= install -g bin -o root -m 444
|
||||
@ -84,8 +85,8 @@ depend: $(SRCS)
|
||||
install:
|
||||
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
|
||||
$(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
|
||||
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
|
||||
$(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/
|
||||
$(INSTALLDIR) $(DESTDIR)$(MANDIR)
|
||||
$(INSTALLMAN) $(PROG).1 $(DESTDIR)$(MANDIR)
|
||||
|
||||
clean:
|
||||
rm -f $(CLEANFILES)
|
||||
|
Loading…
Reference in New Issue
Block a user