--- Makefile.orig 2006-01-11 13:09:05 UTC +++ Makefile @@ -2,7 +2,7 @@ INSTALL_BIN?=${PREFIX}/sbin PREFIX?=/usr/local INSTALL_BIN?=${PREFIX}/sbin -INSTALL_MAN?=${PREFIX}/man/man1 +INSTALL_MAN?=${PREFIX}/share/man/man1 INSTALL?=`which install` GROFF?=`which groff` @@ -21,14 +21,14 @@ install: ${TARGET} all: ${TARGET} install: ${TARGET} - ${INSTALL} -g bin -o root -m 755 ${TARGET} ${INSTALL_BIN} - ${INSTALL} -g bin -o root -m 644 ${MAN} ${INSTALL_MAN} + ${INSTALL} -s -m 755 ${TARGET} ${DESTDIR}${INSTALL_BIN} + ${INSTALL} -m 644 ${MAN} ${DESTDIR}${INSTALL_MAN} clean: rm -f ${TARGET} rm -f ${OBJECTS} rm -f llib-lexpiretable.ln - + obj: ${OBJECTS} html: @@ -42,4 +42,3 @@ ${TARGET}: ${OBJECTS} .c.o: ${CC} ${CFLAGS} -c $< -o $@ -