summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kerberosV/Makefile4
-rw-r--r--kerberosV/doc/Makefile32
2 files changed, 34 insertions, 2 deletions
diff --git a/kerberosV/Makefile b/kerberosV/Makefile
index 3c72d61f71b..9b58e62cc74 100644
--- a/kerberosV/Makefile
+++ b/kerberosV/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.14 2013/06/17 18:57:39 robert Exp $
+# $OpenBSD: Makefile,v 1.15 2013/06/20 13:19:44 ajacoutot Exp $
-SUBDIR= lib libexec tools usr.bin usr.sbin
+SUBDIR= lib libexec tools usr.bin usr.sbin doc
.include <bsd.subdir.mk>
diff --git a/kerberosV/doc/Makefile b/kerberosV/doc/Makefile
new file mode 100644
index 00000000000..0a2dac9716f
--- /dev/null
+++ b/kerberosV/doc/Makefile
@@ -0,0 +1,32 @@
+# $OpenBSD: Makefile,v 1.9 2013/06/20 13:19:44 ajacoutot Exp $
+
+KINFOSRC = ${.CURDIR}/../src/doc
+KINFODIR = ${DESTDIR}${SHAREDIR}/info
+
+MAKEINFO = /usr/bin/makeinfo
+INSTALL-INFO = /usr/bin/install-info
+
+INFO = heimdal.info
+
+SRCS = heimdal.texi intro.texi whatis.texi install.texi setup.texi apps.texi \
+ misc.texi kerberos4.texi win2k.texi programming.texi migration.texi \
+ ack.texi copyright.texi
+
+all: ${INFO}
+
+heimdal.info: ${SRCS}
+ ${MAKEINFO} --no-split -I${KINFOSRC} -o ${.TARGET} ${KINFOSRC}/heimdal.texi
+
+install: ${INFO}
+ ${INSTALL} ${INSTALL_COPY} -m ${DOCMODE} -o ${DOCOWN} -g ${DOCGRP} ${.OBJDIR}/${INFO} ${KINFODIR}
+ $(INSTALL-INFO) ${.OBJDIR}/${INFO} ${KINFODIR}/dir
+
+clean:
+ rm -f ${.OBJDIR}/${INFO}
+
+cleandir: clean
+
+.PATH: ${KINFOSRC}
+
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>