Use INSTALL so people on Solaris can set it to ginstall.

This commit is contained in:
Nicholas Marriott 2010-04-23 07:38:36 +00:00
parent 0c5a964e63
commit ec56ec7920
2 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.124 2010-04-21 21:22:06 nicm Exp $ # $Id: GNUmakefile,v 1.125 2010-04-23 07:38:36 nicm Exp $
# #
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> # Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
# #
@ -52,9 +52,10 @@ endif
endif endif
PREFIX?= /usr/local PREFIX?= /usr/local
INSTALLDIR= install -d INSTALL?= install
INSTALLBIN= install -m 555 INSTALLDIR= $(INSTALL) -d
INSTALLMAN= install -m 444 INSTALLBIN= $(INSTALL) -m 555
INSTALLMAN= $(INSTALL) -m 444
SRCS= $(shell echo *.c|sed 's|osdep-[a-z0-9]*.c||g') SRCS= $(shell echo *.c|sed 's|osdep-[a-z0-9]*.c||g')
include config.mk include config.mk

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.157 2010-04-21 21:22:06 nicm Exp $ # $Id: Makefile,v 1.158 2010-04-23 07:38:36 nicm Exp $
# #
# Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> # Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
# #
@ -48,9 +48,10 @@ CFLAGS+= -Wno-pointer-sign
.endif .endif
PREFIX?= /usr/local PREFIX?= /usr/local
INSTALLDIR= install -d INSTALL?= install
INSTALLBIN= install -m 555 INSTALLDIR= ${INSTALL} -d
INSTALLMAN= install -m 444 INSTALLBIN= ${INSTALL} -m 555
INSTALLMAN= ${INSTALL} -m 444
SRCS!= echo *.c|sed 's|osdep-[a-z0-9]*.c||g' SRCS!= echo *.c|sed 's|osdep-[a-z0-9]*.c||g'
.include "config.mk" .include "config.mk"