mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-12 08:58:12 +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
|
.PHONY: clean
|
||||||
|
|
||||||
@ -62,7 +62,6 @@ LDFLAGS+=
|
|||||||
LIBS+= -lncurses
|
LIBS+= -lncurses
|
||||||
|
|
||||||
PREFIX?= /usr/local
|
PREFIX?= /usr/local
|
||||||
MANDIR?= $(PREFIX)/man/man1
|
|
||||||
INSTALLDIR= install -d
|
INSTALLDIR= install -d
|
||||||
INSTALLBIN= install -g bin -o root -m 555
|
INSTALLBIN= install -g bin -o root -m 555
|
||||||
INSTALLMAN= install -g bin -o root -m 444
|
INSTALLMAN= install -g bin -o root -m 444
|
||||||
@ -123,8 +122,8 @@ depend: $(SRCS)
|
|||||||
install:
|
install:
|
||||||
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
|
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/bin
|
||||||
$(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
|
$(INSTALLBIN) $(PROG) $(DESTDIR)$(PREFIX)/bin/$(PROG)
|
||||||
$(INSTALLDIR) $(DESTDIR)$(MANDIR)
|
$(INSTALLDIR) $(DESTDIR)$(PREFIX)/man/man1
|
||||||
$(INSTALLMAN) $(PROG).1 $(DESTDIR)$(MANDIR)
|
$(INSTALLMAN) $(PROG).1 $(DESTDIR)$(PREFIX)/man/man1/$(PROG).1
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(CLEANFILES)
|
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
|
.SUFFIXES: .c .o .y .h
|
||||||
.PHONY: clean update-index.html upload-index.html
|
.PHONY: clean update-index.html upload-index.html
|
||||||
@ -144,6 +144,6 @@ update-index.html:
|
|||||||
|
|
||||||
install: all
|
install: all
|
||||||
${INSTALLDIR} ${DESTDIR}${PREFIX}/bin
|
${INSTALLDIR} ${DESTDIR}${PREFIX}/bin
|
||||||
${INSTALLBIN} ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
|
${INSTALLBIN} ${PROG} ${DESTDIR}${PREFIX}/bin/
|
||||||
${INSTALLDIR} ${DESTDIR}${PREFIX}/man/man1
|
${INSTALLDIR} ${DESTDIR}${PREFIX}/man/man1
|
||||||
${INSTALLMAN} ${PROG}.1 ${DESTDIR}${PREFIX}/man/man1/
|
${INSTALLMAN} ${PROG}.1 ${DESTDIR}${PREFIX}/man/man1/
|
||||||
|
Loading…
Reference in New Issue
Block a user