summaryrefslogtreecommitdiff
path: root/usr.sbin/amd/doc/Makefile
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-12-15 22:31:51 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-12-15 22:31:51 +0000
commitd12b3cef3c732fb073db4f91e72ce4b73819b76f (patch)
tree60dfdf04d3194d78aca404d988f4a0dab48c6a12 /usr.sbin/amd/doc/Makefile
parent9b753ad9abb60197bbaeec8b1df78d1dffa531c8 (diff)
Build and install amdref.info and install an entry for it in the dir file.
amdref.texinfo could do with some cleaning up but this is a start.
Diffstat (limited to 'usr.sbin/amd/doc/Makefile')
-rw-r--r--usr.sbin/amd/doc/Makefile66
1 files changed, 15 insertions, 51 deletions
diff --git a/usr.sbin/amd/doc/Makefile b/usr.sbin/amd/doc/Makefile
index 9d26fbe0af6..2873a26e271 100644
--- a/usr.sbin/amd/doc/Makefile
+++ b/usr.sbin/amd/doc/Makefile
@@ -1,56 +1,20 @@
-#
-# $Id: Makefile,v 1.2 1998/07/12 05:06:27 todd Exp $
-#
-# Copyright (c) 1990 Jan-Simon Pendry
-# Copyright (c) 1990 Imperial College of Science, Technology & Medicine
-# Copyright (c) 1990 The Regents of the University of California.
-# All rights reserved.
-#
-# This code is derived from software contributed to Berkeley by
-# Jan-Simon Pendry at Imperial College, London.
-#
-# Redistribution and use in source and binary forms, with or without
-# modification, are permitted provided that the following conditions
-# are met:
-# 1. Redistributions of source code must retain the above copyright
-# notice, this list of conditions and the following disclaimer.
-# 2. Redistributions in binary form must reproduce the above copyright
-# notice, this list of conditions and the following disclaimer in the
-# documentation and/or other materials provided with the distribution.
-# 3. All advertising materials mentioning features or use of this software
-# must display the following acknowledgement:
-# This product includes software developed by the University of
-# California, Berkeley and its contributors.
-# 4. Neither the name of the University nor the names of its contributors
-# may be used to endorse or promote products derived from this software
-# without specific prior written permission.
-#
-# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
-# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
-# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
-# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
-# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
-# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
-# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
-# SUCH DAMAGE.
-#
-# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
-# $Id: Makefile,v 1.2 1998/07/12 05:06:27 todd Exp $
+# $OpenBSD: Makefile,v 1.3 2000/12/15 22:31:48 millert Exp $
-PROG = amdref
-SRCS = ${.CURDIR}/amdref.texinfo
+INFO = amdref.info amdref.info-1 amdref.info-2 amdref.info-3 amdref.info-4
+SRCS = amdref.texinfo
-${PROG}: amdref.dvi
+all: ${INFO}
-amdref.dvi: ${SRCS}
- -tex ${.CURDIR}/amdref.texinfo; tex ${.CURDIR}/amdref.texinfo
+${INFO}: ${SRCS}
+ -makeinfo --no-validate ${.CURDIR}/${SRCS}
-clean:
- -rm -f amdref.aux amdref.cp amdref.cps amdref.dvi amdref.fn \
- amdref.fns amdref.ky amdref.kys amdref.log amdref.pg amdref.pgs \
- amdref.toc amdref.tp amdref.tps amdref.vr amdref.vrs
+clean cleandir:
+ -rm -f ${INFO}
-.include <bsd.prog.mk>
+install: ${INFO}
+ ${INSTALL} ${INSTALL_COPY} -o ${DOCOWN} -g ${DOCGRP} -m ${DOCMODE} ${INFO} ${DESTDIR}${SHAREDIR}/info
+ install-info --info-dir=${DESTDIR}${SHAREDIR}/info amdref.info
+
+.include <bsd.own.mk>
+.include <bsd.obj.mk>
+.include <bsd.subdir.mk>