# $Id: Makefile.in,v 1.12 1997/07/18 22:32:08 assar Exp $

SHELL = /bin/sh

srcdir = @srcdir@
VPATH = @srcdir@

INSTALL = @INSTALL@
INSTALL_DATA = $(INSTALL)
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
MAKEINFO = @MAKEINFO@
TEXI2DVI = texi2dvi
TEXI2HTML = texi2html

prefix = @prefix@
infodir = @infodir@

all: info

install: all installdirs
	if test -f kth-krb.info; then \
	  $(INSTALL_DATA) kth-krb.info $(infodir)/kth-krb.info; \
	else \
	  $(INSTALL_DATA) $(srcdir)/kth-krb.info $(infodir)/kth-krb.info; \
	fi
	if test -f $(infodir)/dir ; then :; else \
		$(INSTALL_DATA) $(srcdir)/dir $(infodir)/dir; \
	fi
	if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
	  install-info --dir-file=$(infodir)/dir $(infodir)/kth-krb.info; \
	else \
	  true; \
	fi

uninstall:
	rm -f $(infodir)/kth-krb.info

installdirs:
	$(MKINSTALLDIRS) $(infodir)

info: kth-krb.info

kth-krb.info: kth-krb.texi
	$(MAKEINFO) -I$(srcdir) -o $@ $(srcdir)/kth-krb.texi

dvi: kth-krb.dvi

kth-krb.dvi: kth-krb.texi
	$(TEXI2DVI) $(srcdir)/kth-krb.texi

html: kth-krb.html

kth-krb.html: kth-krb.texi
	$(TEXI2HTML) $(srcdir)/kth-krb.texi

clean:
	rm -f *.aux *.cp *.cps *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr

distclean: clean

mostlyclean: clean

maintainer-clean: clean
	rm -f kth-krb.info

check:

.PHONY: install all installdirs uninstall info dvi html clean check distclean mostlyclean maintainer-clean
