Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/ntp Install html doco under HTMLDOCDIR/ntp.



details:   https://anonhg.NetBSD.org/src/rev/a80a99744e5a
branches:  trunk
changeset: 485639:a80a99744e5a
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue May 02 12:01:10 2000 +0000

description:
Install html doco under HTMLDOCDIR/ntp.

diffstat:

 usr.sbin/ntp/Makefile            |   4 ++--
 usr.sbin/ntp/Makefile.inc        |  26 +++++++++++++++++---------
 usr.sbin/ntp/html/Makefile       |  28 ++++++++++++++++++++++++++++
 usr.sbin/ntp/html/hints/Makefile |  17 +++++++++++++++++
 4 files changed, 64 insertions(+), 11 deletions(-)

diffs (106 lines):

diff -r e2dc1a3d9d13 -r a80a99744e5a usr.sbin/ntp/Makefile
--- a/usr.sbin/ntp/Makefile     Tue May 02 11:59:40 2000 +0000
+++ b/usr.sbin/ntp/Makefile     Tue May 02 12:01:10 2000 +0000
@@ -1,6 +1,6 @@
-#      $NetBSD: Makefile,v 1.2 2000/03/29 14:35:45 simonb Exp $
+#      $NetBSD: Makefile,v 1.3 2000/05/02 12:01:10 simonb Exp $
 
-SUBDIR=        libntp ntpd ntpdate ntpdc ntpq ntptime ntptimeset ntptrace
+SUBDIR=        libntp ntpd ntpdate ntpdc ntpq ntptime ntptimeset ntptrace html
 
 all-ntpd all-ntpdate all-ntpdc all-ntpq all-ntptime all-ntptimeset \
        all-ntptrace: all-libntp
diff -r e2dc1a3d9d13 -r a80a99744e5a usr.sbin/ntp/Makefile.inc
--- a/usr.sbin/ntp/Makefile.inc Tue May 02 11:59:40 2000 +0000
+++ b/usr.sbin/ntp/Makefile.inc Tue May 02 12:01:10 2000 +0000
@@ -1,20 +1,28 @@
-#      $NetBSD: Makefile.inc,v 1.1 2000/03/29 13:13:42 simonb Exp $
+#      $NetBSD: Makefile.inc,v 1.2 2000/05/02 12:01:10 simonb Exp $
 
 .if !defined(NTP_MAKEFILE_INC)
 NTP_MAKEFILE_INC=1
 
-DIST=  ${.CURDIR}/../../../dist/ntp
-
-CPPFLAGS+= -I${.CURDIR}/../include -I${DIST}/include -DHAVE_CONFIG_H
+NTPDOCDIR?=    ${HTMLDOCDIR}/ntp
 
-.if !defined(LIB) || empty(LIB)
-LIBNTP!=cd ${.CURDIR}/../libntp; make print-objdir
-LDADD+=        -L${LIBNTP} -lntp
-DPADD+=        ${LIBNTP}/libntp.a
+.if exists(${.CURDIR}/../../../dist/ntp)
+DIST=          ${.CURDIR}/../../../dist/ntp
+.elif exists(${.CURDIR}/../../../../dist/ntp)
+DIST=          ${.CURDIR}/../../../../dist/ntp
+.else
+# error here?
+.endif
+
+CPPFLAGS+=     -I${.CURDIR}/../include -I${DIST}/include -DHAVE_CONFIG_H
+
+.if defined(PROG)
+LIBNTP!=       cd ${.CURDIR}/../libntp; make print-objdir
+LDADD+=                -L${LIBNTP} -lntp
+DPADD+=                ${LIBNTP}/libntp.a
 .endif
 
 NTPSRCDIR?= ${PROG}
-.PATH: ${DIST}/${NTPSRCDIR}
+.PATH:         ${DIST}/${NTPSRCDIR}
 
 .if exists(${.CURDIR}/../../Makefile.inc)
 .include "${.CURDIR}/../../Makefile.inc"
diff -r e2dc1a3d9d13 -r a80a99744e5a usr.sbin/ntp/html/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/ntp/html/Makefile        Tue May 02 12:01:10 2000 +0000
@@ -0,0 +1,28 @@
+#      $NetBSD: Makefile,v 1.1 2000/05/02 12:01:11 simonb Exp $
+
+.include <bsd.own.mk>
+
+.if ${MKSHARE} != "no"
+NTPSRCDIR=html
+FILESDIR=${NTPDOCDIR}
+FILES= Oncore-SHMEM.htm accopt.htm assoc.htm audio.htm authopt.htm \
+       biblio.htm build.htm clockopt.htm config.htm confopt.htm \
+       copyright.htm debug.htm driver1.htm driver10.htm driver11.htm \
+       driver12.htm driver16.htm driver18.htm driver19.htm driver2.htm \
+       driver20.htm driver22.htm driver23.htm driver24.htm driver26.htm \
+       driver27.htm driver28.htm driver29.htm driver3.htm driver30.htm \
+       driver32.htm driver33.htm driver34.htm driver35.htm driver36.htm \
+       driver37.htm driver4.htm driver5.htm driver6.htm driver7.htm \
+       driver8.htm driver9.htm exec.htm extern.htm gadget.htm hints.htm \
+       howto.htm htmlprimer.htm index.htm kern.htm kernpps.htm ldisc.htm \
+       measure.htm miscopt.htm monopt.htm mx4200data.htm notes.htm ntpd.htm \
+       ntpdate.htm ntpdc.htm ntpq.htm ntptime.htm ntptrace.htm parsedata.htm \
+       parsenew.htm patches.htm porting.htm pps.htm prefer.htm qth.htm \
+       quick.htm rdebug.htm refclock.htm release.htm tickadj.htm vxworks.htm \
+       y2k.htm
+.endif
+SUBDIR=        hints
+MKOBJ=  no
+
+.include <bsd.subdir.mk>
+.include <bsd.prog.mk>
diff -r e2dc1a3d9d13 -r a80a99744e5a usr.sbin/ntp/html/hints/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/usr.sbin/ntp/html/hints/Makefile  Tue May 02 12:01:10 2000 +0000
@@ -0,0 +1,17 @@
+#      $NetBSD: Makefile,v 1.1 2000/05/02 12:01:11 simonb Exp $
+
+.include <bsd.own.mk>
+
+.if ${MKSHARE} != "no"
+NTPSRCDIR=html/hints
+FILESDIR=${NTPDOCDIR}/hints
+FILES= a-ux aix bsdi changes decosf1 decosf2 hpux linux notes-xntp-v3 parse \
+       refclocks rs6000 sco.htm sgi solaris-dosynctodr.html solaris.html \
+       solaris.xtra.4023118 solaris.xtra.4095849 solaris.xtra.S99ntpd \
+       solaris.xtra.patchfreq sun4 svr4-dell svr4_package todo vxworks.html \
+       winnt.htm
+.endif
+MKOBJ=  no
+
+.include "../../Makefile.inc"
+.include <bsd.prog.mk>



Home | Main Index | Thread Index | Old Index