#
# $Id: Imakefile,v 1.7 1995/08/10 03:25:20 ghudson Exp $
# $Source: /afs/sipb/project/sipb-athena/olc/lib/olcr_help/RCS/Imakefile,v $
# For copying and distribution information,
# please see the file <mit-copyright.h>.
#
#

.SUFFIXES: .nroff .help

SRCS=	qmark.nroff acl.nroff answers.nroff ask.nroff cancel.nroff \
	comment.nroff describe.nroff done.nroff forward.nroff grab.nroff \
	help.nroff instance.nroff list.nroff mail.nroff motd.nroff off.nroff \
	olcr.nroff on.nroff quit.nroff replay.nroff send.nroff show.nroff \
	status.nroff stock.nroff topic.nroff who.nroff hours.nroff \
	version.nroff zephyr.nroff

OBJS=	acl.help answers.help ask.help cancel.help \
	comment.help describe.help done.help forward.help grab.help \
	help.help instance.help list.help mail.help motd.help off.help \
	olcr.help on.help quit.help replay.help send.help show.help \
	status.help stock.help topic.help who.help hours.help \
	version.help zephyr.help

install::
	-if [ ! -d $(DESTDIR)/usr/athena/lib/olc ]; \
		then mkdir $(DESTDIR)/usr/athena/lib/olc; \
		else exit 0; fi
	-if [ ! -d $(DESTDIR)/usr/athena/lib/olc/olcr_help ]; \
		then mkdir $(DESTDIR)/usr/athena/lib/olc/olcr_help; \
		else exit 0; fi

InstallMultipleDestFlags(install,$(OBJS), $(DESTDIR)/usr/athena/lib/olc/olcr_help,$(INSTMANFLAGS))
InstallNonExec(qmark.help, $(DESTDIR)/usr/athena/lib/olc/olcr_help/?.help)

AllTarget($(OBJS) qmark.help)

clean::
	rm -f *.help

depend::

.nroff.help:
	nroff -man $*.nroff > $@
