1 1.3.4.2 msaitoh # $NetBSD: Makefile,v 1.3.4.2 2015/01/07 04:45:42 msaitoh Exp $ 2 1.3.4.2 msaitoh 3 1.3.4.2 msaitoh .include <bsd.own.mk> 4 1.3.4.2 msaitoh .include "${.CURDIR}/../Makefile.inc" 5 1.3.4.2 msaitoh 6 1.3.4.2 msaitoh .PATH: ${IDIST}/html 7 1.3.4.2 msaitoh 8 1.3.4.2 msaitoh .if ${MKDOC} != "no" 9 1.3.4.2 msaitoh NTP_DOCFILES= \ 10 1.3.4.2 msaitoh accopt.html \ 11 1.3.4.2 msaitoh assoc.html \ 12 1.3.4.2 msaitoh audio.html \ 13 1.3.4.2 msaitoh authopt.html \ 14 1.3.4.2 msaitoh bugs.html \ 15 1.3.4.2 msaitoh build.html \ 16 1.3.4.2 msaitoh clockopt.html \ 17 1.3.4.2 msaitoh comdex.html \ 18 1.3.4.2 msaitoh config.html \ 19 1.3.4.2 msaitoh confopt.html \ 20 1.3.4.2 msaitoh copyright.html \ 21 1.3.4.2 msaitoh debug.html \ 22 1.3.4.2 msaitoh decode.html \ 23 1.3.4.2 msaitoh drivers/driver1.html \ 24 1.3.4.2 msaitoh drivers/driver3.html \ 25 1.3.4.2 msaitoh drivers/driver4.html \ 26 1.3.4.2 msaitoh drivers/driver5.html \ 27 1.3.4.2 msaitoh drivers/driver6.html \ 28 1.3.4.2 msaitoh drivers/driver7.html \ 29 1.3.4.2 msaitoh drivers/driver8.html \ 30 1.3.4.2 msaitoh drivers/driver9.html \ 31 1.3.4.2 msaitoh drivers/driver10.html \ 32 1.3.4.2 msaitoh drivers/driver11.html \ 33 1.3.4.2 msaitoh drivers/driver12.html \ 34 1.3.4.2 msaitoh drivers/driver16.html \ 35 1.3.4.2 msaitoh drivers/driver18.html \ 36 1.3.4.2 msaitoh drivers/driver19.html \ 37 1.3.4.2 msaitoh drivers/driver20.html \ 38 1.3.4.2 msaitoh drivers/driver22.html \ 39 1.3.4.2 msaitoh drivers/driver26.html \ 40 1.3.4.2 msaitoh drivers/driver27.html \ 41 1.3.4.2 msaitoh drivers/driver28.html \ 42 1.3.4.2 msaitoh drivers/driver29.html \ 43 1.3.4.2 msaitoh drivers/driver30.html \ 44 1.3.4.2 msaitoh drivers/driver31.html \ 45 1.3.4.2 msaitoh drivers/driver32.html \ 46 1.3.4.2 msaitoh drivers/driver33.html \ 47 1.3.4.2 msaitoh drivers/driver34.html \ 48 1.3.4.2 msaitoh drivers/driver35.html \ 49 1.3.4.2 msaitoh drivers/driver36.html \ 50 1.3.4.2 msaitoh drivers/driver37.html \ 51 1.3.4.2 msaitoh drivers/driver38.html \ 52 1.3.4.2 msaitoh drivers/driver39.html \ 53 1.3.4.2 msaitoh drivers/driver40.html \ 54 1.3.4.2 msaitoh drivers/driver42.html \ 55 1.3.4.2 msaitoh drivers/driver43.html \ 56 1.3.4.2 msaitoh drivers/driver44.html \ 57 1.3.4.2 msaitoh drivers/mx4200data.html \ 58 1.3.4.2 msaitoh drivers/oncore-shmem.html \ 59 1.3.4.2 msaitoh drivers/scripts/footer.txt \ 60 1.3.4.2 msaitoh drivers/scripts/style.css \ 61 1.3.4.2 msaitoh drivers/tf582_4.html \ 62 1.3.4.2 msaitoh extern.html \ 63 1.3.4.2 msaitoh hints.html \ 64 1.3.4.2 msaitoh howto.html \ 65 1.3.4.2 msaitoh index.html \ 66 1.3.4.2 msaitoh kern.html \ 67 1.3.4.2 msaitoh kernpps.html \ 68 1.3.4.2 msaitoh keygen.html \ 69 1.3.4.2 msaitoh miscopt.html \ 70 1.3.4.2 msaitoh monopt.html \ 71 1.3.4.2 msaitoh msyslog.html \ 72 1.3.4.2 msaitoh ntp_conf.html \ 73 1.3.4.2 msaitoh ntpd.html \ 74 1.3.4.2 msaitoh ntpdate.html \ 75 1.3.4.2 msaitoh ntpdc.html \ 76 1.3.4.2 msaitoh ntpdsim.html \ 77 1.3.4.2 msaitoh ntpdsim_new.html \ 78 1.3.4.2 msaitoh ntpq.html \ 79 1.3.4.2 msaitoh ntptime.html \ 80 1.3.4.2 msaitoh ntptrace.html \ 81 1.3.4.2 msaitoh parsedata.html \ 82 1.3.4.2 msaitoh parsenew.html \ 83 1.3.4.2 msaitoh pps.html \ 84 1.3.4.2 msaitoh prefer.html \ 85 1.3.4.2 msaitoh quick.html \ 86 1.3.4.2 msaitoh rate.html \ 87 1.3.4.2 msaitoh rdebug.html \ 88 1.3.4.2 msaitoh refclock.html \ 89 1.3.4.2 msaitoh release.html \ 90 1.3.4.2 msaitoh scripts/accopt.txt \ 91 1.3.4.2 msaitoh scripts/audio.txt \ 92 1.3.4.2 msaitoh scripts/authopt.txt \ 93 1.3.4.2 msaitoh scripts/clockopt.txt \ 94 1.3.4.2 msaitoh scripts/command.txt \ 95 1.3.4.2 msaitoh scripts/config.txt \ 96 1.3.4.2 msaitoh scripts/confopt.txt \ 97 1.3.4.2 msaitoh scripts/external.txt \ 98 1.3.4.2 msaitoh scripts/footer.txt \ 99 1.3.4.2 msaitoh scripts/install.txt \ 100 1.3.4.2 msaitoh scripts/manual.txt \ 101 1.3.4.2 msaitoh scripts/misc.txt \ 102 1.3.4.2 msaitoh scripts/miscopt.txt \ 103 1.3.4.2 msaitoh scripts/monopt.txt \ 104 1.3.4.2 msaitoh scripts/refclock.txt \ 105 1.3.4.2 msaitoh scripts/style.css \ 106 1.3.4.2 msaitoh sitemap.html \ 107 1.3.4.2 msaitoh sntp.html \ 108 1.3.4.2 msaitoh tickadj.html \ 109 1.3.4.2 msaitoh xleave.html 110 1.3.4.2 msaitoh 111 1.3.4.2 msaitoh .for F in ${NTP_DOCFILES:O:u} 112 1.3.4.2 msaitoh _FDIR:= ntp/${F:H} # subdir 113 1.3.4.2 msaitoh _FDIR:= ${_FDIR:S,/.$,,} # remove trivial directory 114 1.3.4.2 msaitoh _FNAME:= ${F:T} # name override 115 1.3.4.2 msaitoh _F:= ${DESTDIR}${NTP_HTMLDIR}/${_FDIR}/${_FNAME} # installed path 116 1.3.4.2 msaitoh _FILE:= ${F} 117 1.3.4.2 msaitoh 118 1.3.4.2 msaitoh .if ${MKUPDATE} == "no" 119 1.3.4.2 msaitoh ${_F}! ${_FILE} __fileinstall # install rule 120 1.3.4.2 msaitoh .if !defined(BUILD) && !make(all) && !make(${_FILE}) 121 1.3.4.2 msaitoh ${_F}! .MADE # no build at install 122 1.3.4.2 msaitoh .endif 123 1.3.4.2 msaitoh .else 124 1.3.4.2 msaitoh ${_F}: ${_FILE} __fileinstall # install rule 125 1.3.4.2 msaitoh .if !defined(BUILD) && !make(all) && !make(${_FILE}) 126 1.3.4.2 msaitoh ${_F}: .MADE # no build at install 127 1.3.4.2 msaitoh .endif 128 1.3.4.2 msaitoh .endif 129 1.3.4.2 msaitoh 130 1.3.4.2 msaitoh filesinstall:: ${_F} 131 1.3.4.2 msaitoh .PRECIOUS: ${_F} # keep if install fails 132 1.3.4.2 msaitoh .endfor 133 1.3.4.2 msaitoh 134 1.3.4.2 msaitoh .endif 135 1.3.4.2 msaitoh 136 1.3.4.2 msaitoh .include <bsd.prog.mk> 137