summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Insulander <hin@cvs.openbsd.org>2001-06-21 23:45:28 +0000
committerHans Insulander <hin@cvs.openbsd.org>2001-06-21 23:45:28 +0000
commitcf60a6199e54e473449cb4b30a3bb617d474d7d8 (patch)
tree37d3439abc239be61422483234c05b254cef6f9f
parentc1721ae47170a92ca22cf21106e537a9004a05ac (diff)
Build and install Heimdal infofile.
-rw-r--r--kerberosV/Makefile4
-rw-r--r--kerberosV/doc/Makefile38
2 files changed, 40 insertions, 2 deletions
diff --git a/kerberosV/Makefile b/kerberosV/Makefile
index 478a9f8afbc..159058f8e3d 100644
--- a/kerberosV/Makefile
+++ b/kerberosV/Makefile
@@ -1,6 +1,6 @@
-# $OpenBSD: Makefile,v 1.3 2001/06/05 10:06:20 hin Exp $
+# $OpenBSD: Makefile,v 1.4 2001/06/21 23:45:27 hin Exp $
-SUBDIR = usr.bin/asn1_compile lib usr.bin libexec usr.sbin
+SUBDIR = usr.bin/asn1_compile lib usr.bin libexec usr.sbin doc
build:
cd lib/roken && exec ${MAKE}
diff --git a/kerberosV/doc/Makefile b/kerberosV/doc/Makefile
new file mode 100644
index 00000000000..272d97becf8
--- /dev/null
+++ b/kerberosV/doc/Makefile
@@ -0,0 +1,38 @@
+# $Id: Makefile,v 1.1 2001/06/21 23:45:27 hin 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} -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)
+
+cleandir: clean
+
+
+.PHONY: install all clean cleandir
+
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>