summaryrefslogtreecommitdiff
path: root/kerberosIV/doc/Makefile
blob: 0dbfaa09f9fa1171d1067aed0c8b38249d0c91a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# $Id: Makefile,v 1.6 2001/01/09 02:41:17 angelos Exp $

KRBDEPTH=..
.include "../Makefile.inc"

.PATH:	${KRBSRC}/doc

MAKEINFO = /usr/bin/makeinfo
INSTALL-INFO = /usr/bin/install-info

infodir = ${DESTDIR}/usr/share/info

INSTALL = /usr/bin/install

info = kth-krb.info

SRCS = 	ack.texi	\
	index.texi	\
	intro.texi	\
	kth-krb.texi	\
	problems.texi	\
	setup.texi	\
	whatis.texi


all: $(info)

install: $(info)
	$(INSTALL-INFO) ${.OBJDIR}/$(info) $(infodir)/dir 
	${INSTALL} ${INSTALL_COPY} -m 444 -o ${BINOWN} -g ${BINGRP} -p ${.OBJDIR}/$(info) $(infodir)

$(info): $(SRCS)
	${MAKEINFO} -I${KRBSRC}/doc -o ${.OBJDIR}/$@ ${KRBSRC}/doc/kth-krb.texi

clean:
	(cd ${.OBJDIR} ; rm -f *.aux *.cp *.cps *.dvi *.fn *.ky *.log *.pg *.toc *.tp *.vr *.info)

cleandir: clean


.PHONY: install all clean cleandir

.include <bsd.obj.mk>
.include <bsd.subdir.mk>