Skip Menu |
 

Download (untitled) / with headers
text/plain 4.9KiB
From tlyu@MIT.EDU Thu Oct 10 12:56:50 1996
Received: from MIT.EDU (SOUTH-STATION-ANNEX.MIT.EDU [18.72.1.2]) by rt-11.MIT.EDU (8.7.5/8.7.3) with SMTP id MAA29001 for <bugs@RT-11.MIT.EDU>; Thu, 10 Oct 1996 12:56:50 -0400
Received: from TESLA-COIL.MIT.EDU by MIT.EDU with SMTP
id AA25147; Thu, 10 Oct 96 12:56:49 EDT
Received: by tesla-coil.MIT.EDU (5.x/4.7) id AA12314; Thu, 10 Oct 1996 12:56:47 -0400
Message-Id: <199609181932.PAA10105@jik.tiac.net>
Date: Wed, 18 Sep 1996 15:32:05 -0400
From: "Jonathan I. Kamens" <jik@jik.tiac.net>
To: krb5-bugs@MIT.EDU, kerberos@MIT.EDU
Subject: krb5-beta7: doc/Makefile should have dependencies in it

Show quoted text
>Number: 101
>Category: krb5-doc
>Synopsis: krb5-beta7: doc/Makefile should have dependencies in it
>Confidential: yes
>Severity: serious
>Priority: medium
>Responsible: tlyu
>State: closed
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Thu Oct e 12:57:09 EDT 1996
>Last-Modified: Fri Nov e 19:23:11 EST 1996
>Originator:
>Organization:
>Release:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
>Audit-Trail:

Responsible-Changed-From-To: gnats-admin->krb5-unassigned
Responsible-Changed-By: tlyu
Responsible-Changed-When: Thu Oct 10 13:08:27 1996
Responsible-Changed-Why:
refiled

Responsible-Changed-From-To: krb5-unassigned->tlyu
Responsible-Changed-By: tlyu
Responsible-Changed-When: Fri Nov 1 17:41:18 1996
Responsible-Changed-Why:
I'm going to deal with this now...

State-Changed-From-To: open-closed
State-Changed-By: tlyu
State-Changed-When: Fri Nov 1 19:22:33 1996
State-Changed-Why:
Checked in; Makefile revision 1.8

Show quoted text
>Unformatted:
Here's a new version of the doc/Makefile included in the krb5-beta7
distribution, which has more dependencies in it so that files don't
get rebuilt when they don't need to be.

SRCDIR=../src
DVI=texi2dvi
DVIPS=dvips -o "$@"
INFO=makeinfo
HTML=texi2html
RM=rm -f
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_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

.PHONY: admin-guide-html
admin-guide-html:: admin.html

admin.html: $(ADMIN_DEPS)
$(HTML) admin.texinfo

.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

.PHONY: install-guide
install-guide:: install-guide.ps

install-guide.ps: $(INSTALL_DEPS)
$(DVI) install.texinfo
$(DVIPS) install

.PHONY: install-guide-html
install-guide-html:: install.html

install.html:: $(INSTALL_DEPS)
$(HTML) install.texinfo

.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

.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

.PHONY: user-guide-info
user-guide-info:: krb5-user.info

krb5-user.info: $(USER_GUIDE_DEPS)
$(INFO) user-guide.texinfo

.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
$(MV) krb5-docs.tar.gz krb5-docs.tgz