diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-30 13:59:16 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-11-30 13:59:16 +0000 |
commit | 2b3ba1cfade5e81c6c18b2d9733423512893c86b (patch) | |
tree | 926b60e1ba1f1d42ba0492050f216e22fbe57c24 /Makefile | |
parent | fe1299aecf62068f4bb320115eb1f6e3a3cf2c8f (diff) |
Bah, doing it together doesn't seem to work portably.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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/ |