[5641] in Athena Bugs

home help back first fref pref prev next nref lref last post

hesiod install stuff

daemon@ATHENA.MIT.EDU (marc@MIT.EDU)
Tue Jul 31 12:02:21 1990

From: marc@MIT.EDU
To: bugs@MIT.EDU
Reply-To: marc@MIT.EDU
Date: Tue, 31 Jul 90 12:02:04 EDT

This isn't really a bug, but should probably be forwarded to
bug-hesiod as a suggestion.

from the hesiod Imakefile:

install::       all
        install -c -m 644 hesiod.a ${DESTDIR}${LIBDIR}/libhesiod.a
        ranlib ${DESTDIR}${LIBDIR}/libhesiod.a
        install -c -m 644 hesiod_p.a ${DESTDIR}${LIBDIR}/libhesiod_p.a
        ranlib ${DESTDIR}${LIBDIR}/libhesiod_p.a
        install -c -m 644 hesiod.h ${DESTDIR}${INCDIR}/hesiod.h
        install -c -m 644 hesiod.3 ${DESTDIR}${MANDIR}${MAN3}
        install -c -m 644 hesinfo.1 ${DESTDIR}${MANDIR}${MAN1}
        install -c -m 755 -s hesinfo ${DESTDIR}${BINDIR}
        install -c -m 644 llib-lhesiod.ln ${DESTDIR}${LINTDIR}/llib-lhesiod.ln

I would recommend that the install lines for the man pages and for
hesinfo supply a real filename.  If I try to build hesiod on a generic
unix system, hesinfo will be installed as /usr/athena.  This is not
useful.  If a filename is supplied, install will complain about not
having /usr/athena/.  This is a much better failure mode.  I would
suggest doing the same thing for the man pages for consistency, even
though the directories will probably be there.  New, improved
Imakefile fragment:

install::       all
        install -c -m 644 hesiod.a ${DESTDIR}${LIBDIR}/libhesiod.a
        ranlib ${DESTDIR}${LIBDIR}/libhesiod.a
        install -c -m 644 hesiod_p.a ${DESTDIR}${LIBDIR}/libhesiod_p.a
        ranlib ${DESTDIR}${LIBDIR}/libhesiod_p.a
        install -c -m 644 hesiod.h ${DESTDIR}${INCDIR}/hesiod.h
        install -c -m 644 hesiod.3 ${DESTDIR}${MANDIR}${MAN3}/hesiod.3
        install -c -m 644 hesinfo.1 ${DESTDIR}${MANDIR}${MAN1}/hesinfo.1
        install -c -m 755 -s hesinfo ${DESTDIR}${BINDIR}/hesinfo
        install -c -m 644 llib-lhesiod.ln ${DESTDIR}${LINTDIR}/llib-lhesiod.ln



		Marc

home help back first fref pref prev next nref lref last post