summaryrefslogtreecommitdiff
path: root/kerberosV/doc/Makefile
blob: 8ac623607a1794666f9fadde51c771169fadc928 (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
# $Id: Makefile,v 1.6 2008/08/30 01:16:30 brad Exp $

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

.PATH:	${KRB5SRC}/doc

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

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

INSTALL = /usr/bin/install

info = heimdal.info

SRCS = 	heimdal.texi intro.texi install.texi setup.texi kerberos4.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} --no-split -I${KRB5SRC}/doc -o ${.OBJDIR}/$@ ${KRB5SRC}/doc/heimdal.texi

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

cleandir: clean


.PHONY: install all clean cleandir

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