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

.SUFFIXES: .nroff .help

SRCS=	qmark.nroff answers.nroff ask.nroff cancel.nroff \
	done.nroff help.nroff motd.nroff olc.nroff quit.nroff \
	replay.nroff send.nroff show.nroff status.nroff topic.nroff \
	who.nroff hours.nroff version.nroff

OBJS=	answers.help ask.help cancel.help \
	done.help help.help motd.help olc.help quit.help \
	replay.help send.help show.help status.help topic.help \
	who.help hours.help version.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/olc_help ]; \
		then mkdir $(DESTDIR)/usr/athena/lib/olc/olc_help; \
		else exit 0;fi

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

AllTarget($(OBJS) qmark.help)

clean::
	rm -f *.help

depend::

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