mirror of
https://github.com/tmate-io/tmate.git
synced 2024-12-23 23:29:15 +01:00
Reuse CPPFLAGS.
This commit is contained in:
parent
664c79cf73
commit
78f420e7a9
@ -1,4 +1,4 @@
|
||||
# $Id: GNUmakefile,v 1.73 2009-02-18 08:50:30 nicm Exp $
|
||||
# $Id: GNUmakefile,v 1.74 2009-02-18 09:04:15 nicm Exp $
|
||||
|
||||
.PHONY: clean
|
||||
|
||||
@ -62,7 +62,6 @@ 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
|
||||
@ -123,8 +122,8 @@ depend: $(SRCS)
|
||||
install:
|
||||
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
|
||||
$(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
|
||||
$(INSTALLDIR) $(DESTDIR)$(MANDIR)
|
||||
$(INSTALLMAN) $(PROG).1 $(DESTDIR)$(MANDIR)
|
||||
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
|
||||
$(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/$(PROG).1
|
||||
|
||||
clean:
|
||||
rm -f $(CLEANFILES)
|
||||
|
4
Makefile
4
Makefile
@ -1,4 +1,4 @@
|
||||
# $Id: Makefile,v 1.114 2009-02-18 08:50:30 nicm Exp $
|
||||
# $Id: Makefile,v 1.115 2009-02-18 09:04:15 nicm Exp $
|
||||
|
||||
.SUFFIXES: .c .o .y .h
|
||||
.PHONY: clean update-index.html upload-index.html
|
||||
@ -144,6 +144,6 @@ update-index.html:
|
||||
|
||||
install: all
|
||||
${INSTALLDIR} ${DESTDIR}${PREFIX}/bin
|
||||
${INSTALLBIN} ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
|
||||
${INSTALLBIN} ${PROG} ${DESTDIR}${PREFIX}/bin/
|
||||
${INSTALLDIR} ${DESTDIR}${PREFIX}/man/man1
|
||||
${INSTALLMAN} ${PROG}.1 ${DESTDIR}${PREFIX}/man/man1/
|
||||
|
Loading…
Reference in New Issue
Block a user