# $OpenBSD: Makefile,v 1.1 2001/03/18 17:37:36 millert Exp $ INFO= readline.info history.info rluserman.info RLSRC = rlman.texinfo rluser.texinfo rltech.texinfo manvers.texinfo \ rluserman.texinfo HISTSRC = hist.texinfo hsuser.texinfo hstech.texinfo manvers.texinfo MAN+= readline.3 all: ${INFO} readline.info: ${RLSRC} -makeinfo --no-split -I ${.CURDIR} -o ${.TARGET} $(.CURDIR)/rlman.texinfo rluserman.info: ${RLSRC} -makeinfo --no-split -I ${.CURDIR} -o ${.TARGET} ${.CURDIR}/rluserman.texinfo history.info: ${HISTSRC} -makeinfo --no-split -I ${.CURDIR} -o ${.TARGET} ${.CURDIR}/hist.texinfo .ifdef NOMAN maninstall: @echo NOMAN is set .endif install: ${INFO} maninstall @-for i in ${INFO}; do \ echo ${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} \ -m ${DOCMODE} $$i ${DESTDIR}${SHAREDIR}/info/$$i; \ ${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} \ -m ${DOCMODE} $$i ${DESTDIR}${SHAREDIR}/info/$$i; \ done install-info --info-dir=${DESTDIR}${SHAREDIR}/info readline.info cleandir: -rm -f ${INFO} .include .if !defined(NOMAN) .include .endif .include .include .include