Bah, doing it together doesn't seem to work portably.

This commit is contained in:
Nicholas Marriott 2007-11-30 13:59:16 +00:00
parent fe1299aecf
commit 2b3ba1cfad

View File

@ -1,4 +1,4 @@
# $Id: Makefile,v 1.50 2007-11-30 13:54:18 nicm Exp $
# $Id: Makefile,v 1.51 2007-11-30 13:59:16 nicm Exp $
.SUFFIXES: .c .o .y .h
.PHONY: clean update-index.html upload-index.html
@ -49,8 +49,9 @@ CFLAGS+= -Wwrite-strings -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
CFLAGS+= -Wundef -Wbad-function-cast -Winline -Wcast-align
PREFIX?= /usr/local
INSTALLBIN= install -d -g bin -o root -m 555
INSTALLMAN= install -d -g bin -o root -m 444
INSTALLDIR= install -d
INSTALLBIN= install -g bin -o root -m 555
INSTALLMAN= install -g bin -o root -m 444
LDFLAGS+= -L/usr/local/lib
.ifdef PROFILE
@ -109,5 +110,7 @@ update-index.html:
sed "s/%%VERSION%%/${VERSION}/g" index.html.in >index.html
install: all
${INSTALLDIR} ${DESTDIR}${PREFIX}/bin
${INSTALLBIN} ${PROG} ${DESTDIR}${PREFIX}/bin/${PROG}
${INSTALLDIR} ${DESTDIR}${PREFIX}/man/man1
${INSTALLMAN} ${PROG}.1 ${DESTDIR}${PREFIX}/man/man1/