From c5e3bd19da4bd8cf9c8e71e24192cf9248e95b15 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sat, 2 Nov 1996 00:22:21 +0000 Subject: [PATCH] * Makefile: Apply jik's changes for dependencies [krb5-doc/101] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9276 dc483132-0cff-0310-8789-dd5450dbe970 --- doc/ChangeLog | 2 ++ doc/Makefile | 70 +++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 62 insertions(+), 10 deletions(-) diff --git a/doc/ChangeLog b/doc/ChangeLog index bdd6dd5f1..590886747 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,5 +1,7 @@ Fri Nov 1 19:05:15 1996 Tom Yu + * Makefile: Apply jik's changes for dependencies [krb5-doc/101] + * install.texinfo (krb5.conf): Fixed extra closebrace. [krb5-doc/92] diff --git a/doc/Makefile b/doc/Makefile index 191a4c7b3..144c7dac6 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,6 +1,6 @@ SRCDIR=../src DVI=texi2dvi -DVIPS=dvips -o "$@.ps" +DVIPS=dvips -o "$@" INFO=makeinfo HTML=texi2html RM=rm -f @@ -8,65 +8,115 @@ TAR=tar -chvf GZIP=gzip -9 MANPS=./man2ps +.PHONY: all all:: admin-guide-full install-guide-full user-guide-full clean-temp-ps +.PHONY: admin-guide-full admin-guide-full:: admin-guide admin-guide-info admin-guide-html -admin-guide:: +ADMIN_INCLUDES=definitions.texinfo copyright.texinfo document-list.texinfo \ + glossary.texinfo +ADMIN_DEPS=admin.texinfo $(ADMIN_INCLUDES) + +INSTALL_INCLUDES=definitions.texinfo copyright.texinfo document-list.texinfo \ + build.texinfo bug-report.texinfo +INSTALL_DEPS=install.texinfo $(INSTALL_INCLUDES) + +USER_GUIDE_INCLUDES=definitions.texinfo copyright.texinfo glossary.texinfo +USER_GUIDE_DEPS=user-guide.texinfo $(USER_GUIDE_INCLUDES) + +.PHONY: admin-guide +admin-guide:: admin-guide.ps + +admin-guide.ps: $(ADMIN_DEPS) $(DVI) admin.texinfo $(DVIPS) admin -admin-guide-html:: +.PHONY: admin-guide-html +admin-guide-html:: admin.html + +admin.html: $(ADMIN_DEPS) $(HTML) admin.texinfo -admin-guide-info:: +.PHONY: admin-guide-info +admin-guide-info:: kerberos-admin.info + +kerberos-admin.info: $(ADMIN_DEPS) $(INFO) admin.texinfo +.PHONY: install-guide-full install-guide-full:: install-guide install-guide-info install-guide-html -install-guide:: +.PHONY: install-guide +install-guide:: install-guide.ps + +install-guide.ps: $(INSTALL_DEPS) $(DVI) install.texinfo $(DVIPS) install -install-guide-html:: +.PHONY: install-guide-html +install-guide-html:: install.html + +install.html:: $(INSTALL_DEPS) $(HTML) install.texinfo -install-guide-info:: +.PHONY: install-guide-info +install-guide-info:: krb5-install.info + +krb5-install.info: $(INSTALL_DEPS) $(INFO) install.texinfo +.PHONY: user-guide-full user-guide-full:: user-guide user-guide-info user-guide-html -user-guide:: +.PHONY: user-guide +user-guide:: user-guide.ps + +user-guide.ps: $(USER_GUIDE_DEPS) $(DVI) user-guide.texinfo $(MANPS) $(SRCDIR)/appl/gssftp/ftp/ftp.M $(SRCDIR)/clients/kdestroy/kdestroy.M $(SRCDIR)/clients/kinit/kinit.M $(SRCDIR)/clients/klist/klist.M $(SRCDIR)/clients/ksu/ksu.M $(SRCDIR)/appl/bsd/rcp.M $(SRCDIR)/appl/bsd/rlogin.M $(SRCDIR)/appl/bsd/rsh.M $(SRCDIR)/appl/telnet/telnet/telnet.1 $(SRCDIR)/kadmin/passwd/kpasswd.M $(DVIPS) user-guide -user-guide-info:: +.PHONY: user-guide-info +user-guide-info:: krb5-user.info + +krb5-user.info: $(USER_GUIDE_DEPS) $(INFO) user-guide.texinfo -user-guide-html:: +.PHONY: user-guide-html +user-guide-html:: user-guide.html + +user-guide.html: $(USER_GUIDE_DEPS) $(HTML) user-guide.texinfo +.PHONY: clean clean:: clean-all +.PHONY: clean-all clean-all:: clean-tex clean-backup clean-final clean-tarfiles +.PHONY: clean-final clean-final:: $(RM) *.ps *.info *.info-? *.html +.PHONY: clean-tex clean-tex:: $(RM) *.aux *.cp *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr +.PHONY: clean-backup clean-backup:: $(RM) *~ #* +.PHONY: clean-tarfiles clean-tarfiles:: $(RM) *.tar *.tar.gz *.tgz +.PHONY: clean-temp-ps clean-temp-ps:: $(RM) ftp?.ps kinit?.ps klist?.ps kdestroy?.ps ksu?.ps rlogin?.ps \ rcp?.ps rsh?.ps telnet?.ps kpasswd?.ps +.PHONY: tgz tgz:: $(TAR) krb5-docs.tar admin.texinfo build.texinfo copyright.texinfo definitions.texinfo document-list.texinfo glossary.texinfo install.texinfo texinfo.tex user-guide.texinfo *-guide.ps *.info *.info-? *.html $(GZIP) krb5-docs.tar -- 2.26.2